Skip to main content
← All vulnerabilities
CVE-2024-43370GHSA-VWHG-JWR4-VXGG

gettext.js vulnerable to cross-site scripting (XSS)

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

Summary

gettext.js is a GNU gettext port for node and the browser. There is a cross-site scripting (XSS) injection if `.po` dictionary definition files are corrupted. This vulnerability has been patched in version 2.0.3. As a workaround, control the origin of the definition catalog to prevent the use of this flaw in the definition of plural forms.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • guillaumepotier gettext.js

    fixed in 2.0.3

  • gettext.jsnpm

    fixed in 2.0.3

References 2

GitHub · guillaumepotier/gettext.js