Vulnerabilities in pkg:npm/rollbar

PACKAGE
Advisory Identifier: GHSA-xcg2-9pp4-j82x
Advisory Summary

CVE-2025-62517 is a MODERATE (CVSS 5.9) rollbar vulnerable to prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Rollbar libraries in the npm ecosystem. The issue involves rollbar vulnerable to prototype pollution in merge(). Remediation is available by upgrading affected packages to version 2.26.5, 3.0.0-beta5.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/rollbar

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/rollbar. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xcg2-9pp4-j82x CVE-2025-62517 MODERATE rollbar vulnerable to Prototype Pollution in merge()
GHSA-r8c2-2qwq-94p6 CVE-2025-57325 LOW rollbar vulnerable to prototype pollution
GHSA-m929-rg27-gj99 - LOW Duplicate Advisory: rollbar vulnerable to prototype pollution

CVE-2025-62517 at a Glance

CVE Identifier CVE-2025-62517
GHSA Identifier GHSA-xcg2-9pp4-j82x
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Rollbar
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-62517

To remediate this vulnerability, upgrade all affected Rollbar dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

rollbar fixed: 2.26.5
npm install rollbar@2.26.5
rollbar fixed: 3.0.0-beta5
npm install rollbar@3.0.0-beta5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls rollbar

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-62517, inspect your project dependencies using npm:

npm ls rollbar

Analyze the terminal output to locate any version of Rollbar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.26.5), your application is affected.

Note: The npm ls rollbar command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Rollbar, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Prototype pollution vulnerability in merge(). If application code calls `rollbar.configure()` with untrusted input, prototype pollution is possible. ### Patches Fixed in 2.26.5 and 3.0.0-beta5. ### Workarounds Ensure that values passed to `rollbar.configure()` do not contain untrusted input. ### References Fixed in https://github.com/rollbar/rollbar.js/pull/1394 (2.26.x) and https://github.com/rollbar/rollbar.js/pull/1390 (3.x)

CVE-2025-62517 Affected Rollbar Versions

2 component(s)
Fixed Versions:
2.26.53.0.0-beta5
Product / Package Ecosystem Affected Versions Fixed Version
rollbar
npm
< 2.26.5
2.26.5
rollbar
npm
≥ 3.0.0-alpha1
< 3.0.0-beta5
3.0.0-beta5

References

Frequently Asked Questions

What is CVE-2025-62517?
CVE-2025-62517 is a security vulnerability in Rollbar involving rollbar vulnerable to Prototype Pollution in merge() under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Rollbar versions are affected?
Affected versions include releases prior to 2.26.5, 3.0.0-beta5 across affected packages: rollbar.
What version fixes CVE-2025-62517?
Upgrading to 2.26.5, 3.0.0-beta5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rollbar affected?
Yes, rollbar is affected in releases prior to 2.26.5, 3.0.0-beta5. Upgrade your dependency to 2.26.5, 3.0.0-beta5 or later.
What is the CVSS score of CVE-2025-62517?
CVE-2025-62517 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2025-62517?
CVE-2025-62517 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check npm dependencies for CVE-2025-62517?
Run the dependency tree command: 'npm ls rollbar'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xcg2-9pp4-j82x",
  "modified" : "2025-10-24T19:28:46Z",
  "published" : "2025-10-23T20:31:30Z",
  "aliases" : [ "CVE-2025-62517" ],
  "summary" : "rollbar vulnerable to Prototype Pollution in merge()",
  "details" : "### Impact\n\nPrototype pollution vulnerability in merge(). If application code calls `rollbar.configure()` with untrusted input, prototype pollution is possible.\n\n### Patches\n\nFixed in 2.26.5 and 3.0.0-beta5.\n\n### Workarounds\n\nEnsure that values passed to `rollbar.configure()` do not contain untrusted input.\n\n### References\n\nFixed in https://github.com/rollbar/rollbar.js/pull/1394 (2.26.x) and https://github.com/rollbar/rollbar.js/pull/1390 (3.x)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "rollbar"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.26.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.26.4"
    }
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "rollbar"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-alpha1"
      }, {
        "fixed" : "3.0.0-beta5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.0-beta4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rollbar/rollbar.js/security/advisories/GHSA-xcg2-9pp4-j82x"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-62517"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rollbar/rollbar.js/pull/1390"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rollbar/rollbar.js/pull/1394"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rollbar/rollbar.js/commit/61032fe6c208b71e249514800808a54bcb8cb8bb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rollbar/rollbar.js/commit/d717def8b68f4a947975d0aebb729869cdb2d343"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rollbar/rollbar.js"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-23T20:31:30Z",
    "nvd_published_at" : "2025-10-23T20:15:41Z"
  }
}