{"id":"GHSA-r8c2-2qwq-94p6","summary":"rollbar vulnerable to prototype pollution","details":"### Impact\n\nPrototype pollution potential with the utility function `rollbar/src/utility`.`set()`. No impact when using the published public interface.\n\nIf application code directly imports `set` from `rollbar/src/utility` and then calls `set` with untrusted input in the second argument, it is vulnerable to prototype pollution.\n\nPOC:\n\n```js\nconst obj = {};\nrequire(\"rollbar/src/utility\").set(obj, \"__proto__.polluted\", \"vulnerable\");\nconsole.log({}.polluted !== undefined ? '[POLLUTION_TRIGGERED]':'');\n```\n\n### Patches\n\nFixed in version 2.26.5 and 3.0.0-beta5.\n\n### Workarounds\n\nIf application code directly imports `set` from `rollbar/src/utility`, ensure that the second argument does not receive untrusted input.\n\n### References\n\nhttps://github.com/rollbar/rollbar.js/issues/1333#issuecomment-3353720946","aliases":["CVE-2025-57325"],"modified":"2025-10-20T16:27:18.733380Z","published":"2025-10-20T15:33:02Z","database_specific":{"cwe_ids":["CWE-1321"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2025-10-20T15:33:02Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/rollbar/rollbar.js/security/advisories/GHSA-r8c2-2qwq-94p6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57325"},{"type":"WEB","url":"https://github.com/rollbar/rollbar.js/issues/1333"},{"type":"WEB","url":"https://github.com/rollbar/rollbar.js/commit/d717def8b68f4a947975d0aebb729869cdb2d343"},{"type":"WEB","url":"https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/rollbar%402.26.4/index.js"},{"type":"WEB","url":"https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57325"},{"type":"PACKAGE","url":"https://github.com/rollbar/rollbar.js"}],"affected":[{"package":{"name":"rollbar","ecosystem":"npm","purl":"pkg:npm/rollbar"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.26.5"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.26.4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-r8c2-2qwq-94p6/GHSA-r8c2-2qwq-94p6.json"}},{"package":{"name":"rollbar","ecosystem":"npm","purl":"pkg:npm/rollbar"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0-alpha1"},{"fixed":"3.0.0-beta5"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 3.0.0-beta4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-r8c2-2qwq-94p6/GHSA-r8c2-2qwq-94p6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}]}