{"id":"CVE-2025-57325","aliases":["GHSA-r8c2-2qwq-94p6"],"url":"https://o3.security/vulnerability/CVE-2025-57325","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","published":"2025-09-24T00:00:00Z","modified":"2026-08-12T03:51:26.729036444Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"rollbar","fixedVersion":"2.26.5"},{"ecosystem":"npm","name":"rollbar","fixedVersion":"3.0.0-beta5"}],"fix":{"url":"https://github.com/rollbar/rollbar.js/commit/d717def8b68f4a947975d0aebb729869cdb2d343","label":"rollbar/rollbar.js@d717def"},"references":[{"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":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57325.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57325"},{"type":"WEB","url":"https://github.com/rollbar/rollbar.js/security/advisories/GHSA-r8c2-2qwq-94p6"},{"type":"WEB","url":"https://github.com/rollbar/rollbar.js/issues/1333"},{"type":"WEB","url":"https://github.com/rollbar/rollbar.js/commit/d717def8b68f4a947975d0aebb729869cdb2d343"},{"type":"PACKAGE","url":"https://github.com/rollbar/rollbar.js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:26.729036444Z"}}