CVE-2026-25521

Source
https://cve.org/CVERecord?id=CVE-2026-25521
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25521.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25521
Aliases
Published
2026-02-04T21:20:32.643Z
Modified
2026-02-05T21:46:06.735481Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
Locutus is vulnerable to Prototype Pollution
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-1321"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25521.json"
}
References

Affected packages

Git / github.com/locutusjs/locutus

Affected ranges

Type
GIT
Repo
https://github.com/locutusjs/locutus
Events

Affected versions

v2.*
v2.0.12
v2.0.13
v2.0.14
v2.0.15
v2.0.16
v2.0.17
v2.0.19
v2.0.20
v2.0.21
v2.0.22
v2.0.23
v2.0.24
v2.0.25
v2.0.26
v2.0.27
v2.0.28
v2.0.29
v2.0.30
v2.0.32
v2.0.33
v2.0.34
v2.0.35
v2.0.36
v2.0.37
v2.0.38

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25521.json"