Advisory

GHSA-r8c2-2qwq-94p6

Also known as: CVE-2025-57325

Summary

rollbar vulnerable to prototype pollution

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-10-20 15:33 UTC
Modified
2025-10-20 16:27 UTC

Affected packages and fixes

rollbar

npm · All systems

Affected

  • introduced 0, fixed 2.26.5 (semver)

Fixed versions

2.26.5

Fix

rollbar

npm · All systems

Affected

  • introduced 3.0.0-alpha1, fixed 3.0.0-beta5 (semver)

Fixed versions

3.0.0-beta5

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences