{"id":"CVE-2026-25521","published":"2026-02-04T21:20:32Z","modified":"2026-07-15T02:49:16Z","title":"Locutus is vulnerable to Prototype Pollution","vendor":"locutusjs","product":"locutus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00314,"percentile":0.25016,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-25521","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2436950","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.0},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"locutusjs","affectedVersions":[{"vendor":"locutusjs","product":"locutus","versions":[">= 2.0.12, < 2.0.39"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-05T14:23:07.184247Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"locutus","vulnerableRanges":[">=2.0.12, <2.0.39"],"patched":["2.0.39"],"from":["GHSA-rxrv-835q-v5mh"],"provenance":"source"}],"summary":{"text":"Locutus, a JavaScript port of standard libraries from other programming languages, contains a prototype pollution flaw in versions from 2.0.12 before 2.0.39 that persists despite an earlier key-filtering fix. An attacker can pollute Object.prototype by supplying a crafted input that is processed through String.prototype, requiring no privileges or user interaction and only local access as the attack vector.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:00Z"},"euvd":{"id":"EUVD-2026-5340","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-locutusjs-locutus-cve-2020-7719","parents":[{"from":"CVE-2020-7719","to":"CVE-2026-25521","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/php/strings/parse_str.js"],"commits":["https://github.com/locutusjs/locutus/commit/0eb16d8541838e80f3c2340a9ef93ded7c97290f","https://github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c"],"basis":"shared function","functions":["parse_str"]}]}],"children":[{"from":"CVE-2026-25521","to":"CVE-2026-33994","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This vulnerability stems from an incomplete fix for CVE-2026-25521.","from":"CVE.org","in":"CVE-2026-33994"},{"kind":"osv-related","provenance":"source","id":"GHSA-vc8f-x9pp-wf5p","via":"reference","url":"https://github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh"}]}]}}