MEDIUM🇬🇧 English

CVE-2026-33994

CVSS 6.3v4.0pub. 2026-03-27upd. 2026-04-01

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.

oryginał EN
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Locutus

    APP
    Locutus
    2.0.39 – 3.0.25 (bez)
🔵
ZWERYFIKUJ U PRODUCENTA
Brak jednoznacznych danych o patchu. Sprawdź referencje od producenta.
CWE
Referencje

Powiązane podatności

CVE-2026-32304CRITICAL9.8PL ✓ten sam produkt

Locutus: RCE w funkcji create_function() przez brak sanityzacji danych wejściowych

CVE-2026-25521CRITICAL9.4PL ✓ten sam produkt

Prototype pollution w bibliotece Locutus (JavaScript stdlibs)

CVE-2020-7719CRITICAL9.8ten sam produkt

Versions of package locutus before 2.0.12 are vulnerable to prototype Pollution via the php.strings.parse_str ...

CVE-2026-29091HIGH8.1ten sam produkt

Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to version...

CVE-2026-33993MEDIUM6.9ten sam produkt

Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to version...