Skip to main content
← All vulnerabilities
CVE-2026-25521GHSA-RXRV-835Q-V5MH

Locutus is vulnerable to Prototype Pollution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.39
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • locutusjs locutus

    From 2.0.12 · fixed in 2.0.39

  • locutusnpm

    From 2.0.12 · fixed in 2.0.39

References 2

GitHub · locutusjs/locutus