Read the docs
TI-2024-29021 Aliases CVE-2024-43370GHSA-vwhg-jwr4-vxgg

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

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0038 32nd percentileScored 2026-11-07
Fix Fixed gettext.js (guillaumepotier): 2.0.3gettext.js (npm): 2.0.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
guillaumepotiergettext.jsbefore 2.0.32.0.3Patch availableCNA
—gettext.js (npm)before 2.0.32.0.3Patch availableGHSA-vwhg-jwr4-vxgg
  • gettext.js Vendorguillaumepotier Affected before 2.0.3 Fixed in 2.0.3 Patch available CNA
  • gettext.js (npm) Vendor— Affected before 2.0.3 Fixed in 2.0.3 Patch available GHSA-vwhg-jwr4-vxgg

Remediation

  • Fix · CNA gettext.js (guillaumepotier) Fixed in 2.0.3
  • Fix · GHSA-vwhg-jwr4-vxgg gettext.js (npm) Fixed in 2.0.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-43370
  2. 2026-10-03 Alias added: GHSA-vwhg-jwr4-vxgg

References

Sources