rollbar vulnerable to Prototype Pollution in merge()GHSA-xcg2-9pp4-j82x
MEDIUMFix: rollbar/rollbar.js#1390GHSA-xcg2-9pp4-j82x is a medium-severity (CVSS 5.9) CWE-1321 vulnerability in rollbar. A fix is available for rollbar — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-xcg2-9pp4-j82x.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
rollbarnpmDescription
Rollbar.js offers error tracking and logging from Javascript to Rollbar. In versions before 2.26.5 and from 3.0.0-alpha1 to before 3.0.0-beta5, there is a prototype pollution vulnerability in merge(). If application code calls rollbar.configure() with untrusted input, prototype pollution is possible. This issue has been fixed in versions 2.26.5 and 3.0.0-beta5. A workaround involves ensuring that values passed to rollbar.configure() do not contain untrusted input.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | rollbar | all versions | 2.26.5npm install rollbar@2.26.5 |
| 📦npm | rollbar | ≥ 3.0.0-alpha1&&< 3.0.0-beta5 | 3.0.0-beta5npm install rollbar@3.0.0-beta5 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for rollbar, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update rollbar to 2.26.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-xcg2-9pp4-j82x is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-xcg2-9pp4-j82x in your dependencies?
Find it across npm, including transitive dependencies.