CVE-2024-43370 gettext.js vulnerable to cross-site scripting (XSS)
HighCVSS 7.2
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
7 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/gettext.js(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/gettext.js(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/gettext.js(Debian 12) | < 0.7.0-2+deb11u1 | 0.7.0-2+deb11u1 | Fixed |
| debian/gettext.js(Debian 13) | < 0.7.0-4 | 0.7.0-4 | Fixed |
| debian/gettext.js(Debian 14) | < 0.7.0-4 | 0.7.0-4 | Fixed |
| npm gettext.js(npm) | < 2.0.3 | 2.0.3 | Fixed |
| guillaumepotier gettext.js | = < 2.0.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm gettext.js(npm) | < 2.0.3 | 2.0.3 |
| debian/gettext.js(Debian:12) | < 0.7.0-2+deb11u1 | 0.7.0-2+deb11u1 |
| debian/gettext.js(Debian:13) | < 0.7.0-4 | 0.7.0-4 |
| debian/gettext.js(Debian:14) | < 0.7.0-4 | 0.7.0-4 |
| ubuntu/gettext.js(Ubuntu:22.04) | All versions | No fix listed |
| guillaumepotier gettext.js | = < 2.0.3 | No fix listed |
| ubuntu/gettext.js(Ubuntu:24.04) | All versions | No fix listed |
References
- https://github.com/guillaumepotier/gettext.js/security/advisories/GHSA-vwhg-jwr4-vxgg vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/guillaumepotier/gettext.js/commit/8150aeba833183e14c2291a8a148b8f79d1d68d8 patch
- github.com
- Debian Security Tracker CVE-2024-43370 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- github.com product