CVE Catalog

CVE-2026-25521

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

A prototype pollution vulnerability has been discovered in the Locutus library (versions 2.0.12 through 2.0.38). Despite a previous fix that checked for forbidden keys, an attacker can still pollute Object.prototype via crafted input using String.prototype.

Risk Assessment

The risk involves the ability to modify the global JavaScript object prototype, potentially leading to unexpected application behavior, privilege escalation, or arbitrary code execution in browser or server contexts.

Recommendation

Immediately update the Locutus library to version 2.0.39 or later, which contains the fix for this vulnerability.

Other vulnerabilities in Locutus

See all
Original NVD description (English source)

Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. In versions from 2.0.12 to before 2.0.39, a prototype pollution vulnerability exists in locutus. Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using String.prototype. This issue has been patched in version 2.0.39.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS