rollbar
Affected
- introduced
0, fixed2.26.5(semver)
Fixed versions
2.26.5
Fix
- Fixed version
2.26.5npm install [email protected]
Advisory
Also known as: CVE-2025-57325
rollbar vulnerable to prototype pollution
Impact
Prototype pollution potential with the utility function rollbar/src/utility.set(). No impact when using the published public interface.
If 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.
POC:
const obj = {};
require("rollbar/src/utility").set(obj, "__proto__.polluted", "vulnerable");
console.log({}.polluted !== undefined ? '[POLLUTION_TRIGGERED]':'');
Patches
Fixed in version 2.26.5 and 3.0.0-beta5.
Workarounds
If application code directly imports set from rollbar/src/utility, ensure that the second argument does not receive untrusted input.
References
https://github.com/rollbar/rollbar.js/issues/1333#issuecomment-3353720946
Low Basis: The source's own band: LOW
0, fixed 2.26.5 (semver)2.26.5
2.26.5npm install [email protected]3.0.0-alpha1, fixed 3.0.0-beta5 (semver)3.0.0-beta5
3.0.0-beta5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0