NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-57325: rollbar vulnerable to prototype pollution

lowCVSS 4.0 2.9GHSA-r8c2-2qwq-94p6

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: Patches Fixed in version 2.26.5 and 3.0.0-beta5.

Published Oct 20, 2025

Affected packages

rollbar

Ecosystem
npm
Affected
<= 2.26.4
Fixed in
2.26.5
Check
npm ls rollbar

rollbar

Ecosystem
npm
Affected
>= 3.0.0-alpha1, <= 3.0.0-beta4
Fixed in
3.0.0-beta5
Check
npm ls rollbar

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to waltjones, brianr.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries