CVE-2024-43370
HIGH 7.2CVSS 3.1gettext.js has a Cross-site Scripting injection
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.
- Published
- 16 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-vwhg-jwr4-vxgg
- Sources
- NVDJSONOSV GHSA-vwhg-jwr4-vxggJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | gettext.js | < 2.0.3 | 2.0.3 |
References
- https://github.com/guillaumepotier/gettext.js/commit/8150aeba833183e14c2291a8a148b8f79d1d68d8 · WEB
- https://github.com/guillaumepotier/gettext.js/security/advisories/GHSA-vwhg-jwr4-vxgg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-43370 · ADVISORY
- https://github.com/guillaumepotier/gettext.js · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 16 Aug 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Aug 2024)