{"id":"CVE-2026-33994","published":"2026-03-27T22:15:47Z","modified":"2026-04-01T13:45:55Z","title":"Locutus Prototype Pollution due to incomplete fix for CVE-2026-25521","vendor":"locutusjs","product":"locutus","tier":"tail","description":{"text":"Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Starting in version 2.0.39 and prior to version 3.0.25, a prototype pollution vulnerability exists in the `parse_str` function of the npm package locutus. An attacker can pollute `Object.prototype` by overriding `RegExp.prototype.test` and then passing a crafted query string to `parse_str`, bypassing the prototype pollution guard. This vulnerability stems from an incomplete fix for CVE-2026-25521. The CVE-2026-25521 patch replaced the `String.prototype.includes()`-based guard with a `RegExp.prototype.test()`-based guard. However, `RegExp.prototype.test` is itself a writable prototype method that can be overridden, making the new guard bypassable in the same way as the original — trading one hijackable built-in for another. Version 3.0.25 contains an updated fix.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00631,"percentile":0.51188,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/locutusjs/locutus/security/advisories/GHSA-vc8f-x9pp-wf5p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/locutusjs/locutus/pull/597","tags":["x_refsource_MISC"]},{"url":"https://github.com/locutusjs/locutus/commit/345a6211e1e6f939f96a7090bfeff642c9fcf9e4","tags":["x_refsource_MISC"]},{"url":"https://github.com/locutusjs/locutus/releases/tag/v3.0.25","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":10.24},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"locutusjs","affectedVersions":[{"vendor":"locutusjs","product":"locutus","versions":[">= 2.0.39, < 3.0.25"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-01T13:45:33.039333Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"locutus","vulnerableRanges":[">=2.0.39, <3.0.25"],"patched":["3.0.25"],"from":["GHSA-vc8f-x9pp-wf5p"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-16890","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-locutusjs-locutus-cve-2020-7719","parents":[{"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"}]}],"packageHistory":[{"cve":"CVE-2026-29091","published":"2026-03-06","fixed":"3.0.0","kev":false},{"cve":"CVE-2026-32304","published":"2026-03-12","fixed":"3.0.14","kev":false,"link":{"from":"CVE-2026-32304","to":"CVE-2026-33994","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:locutus","fromFixed":"3.0.14","toFixed":"3.0.25","daysApart":15}]}},{"cve":"CVE-2026-33993","published":"2026-03-27","fixed":"3.0.25","kev":false},{"cve":"CVE-2026-33994","published":"2026-03-27","fixed":"3.0.25","kev":false}],"package":"npm:locutus"}}