gettext.js vulnerable to cross-site scripting (XSS)
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| guillaumepotier | gettext.js | before 2.0.3 | 2.0.3 | Patch available | CNA |
| — | gettext.js (npm) | before 2.0.3 | 2.0.3 | Patch available | GHSA-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
- 2026-10-02 Threatist record created from CVE-2024-43370
- 2026-10-03 Alias added: GHSA-vwhg-jwr4-vxgg
References
Sources
- CVE-2024-43370 · CVE Program
- CVE-2024-43370 · NVD
- FIRST EPSS
- GHSA-vwhg-jwr4-vxgg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences