CVE-2025-57325
JSON

7.5high

rollbar vulnerable to prototype pollution

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-r8c2-2qwq-94p6

Description

rollbar is a package designed to effortlessly track and debug errors in JavaScript applications. This package includes advanced error tracking features and an intuitive interface to help you identify and fix issues more quickly. A Prototype Pollution vulnerability in the utility.set function of rollbar v2.26.4 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
rollbar (npm)before 2.26.5, from 3.0.0-alpha1 before 3.0.0-beta5GitHub Advisory Database
rollbar rollbarup to 2.26.4NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHublow CVSS:4.0CVSS: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

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

rollbar is a package designed to effortlessly track and debug errors in JavaScript applications. This package includes advanced error tracking features and an intuitive interface to help you identify and fix issues more quickly. A Prototype Pollution vulnerability in the utility.set function of rollbar v2.26.4 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.

GitHub Advisory Database
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

NVD (es)

rollbar es un paquete diseñado para rastrear y depurar errores sin esfuerzo en aplicaciones JavaScript. Este paquete incluye funciones avanzadas de seguimiento de errores y una interfaz intuitiva para ayudarle a identificar y solucionar problemas más rápidamente. Una vulnerabilidad de Prototype Pollution en la función utility.set de rollbar v2.26.4 y versiones anteriores permite a los atacantes inyectar propiedades en Object.prototype mediante el suministro de una carga útil manipulada, causando denegación de servicio (DoS) como consecuencia mínima.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-57325 changed 2025-09-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-r8c2-2qwq-94p6 changed 2025-10-20CC-BY-4.0
NVDCVE-2025-57325 changed 2026-06-17Public domain