GHSA-r8c2-2qwq-94p6

Suggest an improvement
Source
https://github.com/advisories/GHSA-r8c2-2qwq-94p6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-r8c2-2qwq-94p6/GHSA-r8c2-2qwq-94p6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r8c2-2qwq-94p6
Aliases
Published
2025-10-20T15:33:02Z
Modified
2025-10-20T16:27:18Z
Severity
  • 2.9 (Low) CVSS_V4 - 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 CVSS Calculator
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

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-10-20T15:33:02Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

npm / rollbar

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.26.5

Database specific

last_known_affected_version_range
"<= 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"

npm / rollbar

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0-alpha1
Fixed
3.0.0-beta5

Database specific

last_known_affected_version_range
"<= 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"