
CVE catalog
CVE-2024-43370
gettext.js: CVE-2024-43370
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.38% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gettext.js | sid | 0.7.0-4 | fixed |
| Debian | gettext.js | forky | 0.7.0-4 | fixed |
| Debian | gettext.js | trixie | 0.7.0-4 | fixed |
| Debian | gettext.js | bookworm | 0.7.0-3+deb12u1 | fixed |
| Ubuntu | gettext.js | 18.04 | 0.5.3-1 | vulnerable |
| Ubuntu | gettext.js | 18.04 | 0.5.4-1 | vulnerable |
| Ubuntu | gettext.js | 20.04 | 0.5.4-1 | vulnerable |
| Ubuntu | gettext.js | 22.04 | 0.7.0-2 | vulnerable |
| Ubuntu | gettext.js | 24.04 | 0.7.0-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gettext.js | source | sid | 0.7.0-4 | not yet assigned | Not reported | [1078880] |
| Debian | gettext.js | source | forky | 0.7.0-4 | not yet assigned | Not reported | [1078880] |
| Debian | gettext.js | source | trixie | 0.7.0-4 | not yet assigned | Not reported | [1078880] |
| Debian | gettext.js | source | bookworm | 0.7.0-2+deb11u1 | not yet assigned | Not reported | [1078880] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjs-gettext.js]Fixed
Source package: [gettext.js]
Details (2)
0.7.0-3+deb12u1· all · bookwormFixed · Fixed:
0.7.0-2+deb11u1dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12
0.7.0-3+deb12u1· all · bookwormFixed · Fixed:
0.7.0-2+deb11u1dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12
- [node-gettext.js]Fixed
Source package: [gettext.js]
Details (2)
0.7.0-3+deb12u1· all · bookwormFixed · Fixed:
0.7.0-2+deb11u1dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12
0.7.0-3+deb12u1· all · bookwormFixed · Fixed:
0.7.0-2+deb11u1dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12
[Debian 13 (Trixie)]
- [libjs-gettext.js]Fixed
Source package: [gettext.js]
Details (2)
0.7.0-4· all · trixieFixed · Fixed:
0.7.0-4dsa · gettext.js · debian · 13
0.7.0-4· all · trixieFixed · Fixed:
0.7.0-4dsa · gettext.js · debian · 13
- [node-gettext.js]Fixed
Source package: [gettext.js]
Details (2)
0.7.0-4· all · trixieFixed · Fixed:
0.7.0-4dsa · gettext.js · debian · 13
0.7.0-4· all · trixieFixed · Fixed:
0.7.0-4dsa · gettext.js · debian · 13
Observed: