CVE-2024-43370: gettext.js - Stored XSS
- Cve: CVE-2024-43370
- Name: gettext.js - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the victim's browser or node environment, leading to potential data theft or session hijacking.
- Remediation: Update to version 2.0.3 or later, and control the origin of the definition catalog to prevent exploitation.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Epss score: 0.0038
- Epss percentile: 0.32685
- Assignee: [email protected]
- Published at: 2024-08-16T02:15:17Z
- Age in days: 830
- Modified at: 2026-06-17T07:50:54Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-43370
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/guillaumepotier/gettext.js/commit/8150aeba833183e14c2291a8a148b8f79d1d68d8 | nvd | |
| https://github.com/guillaumepotier/gettext.js/security/advisories/GHSA-vwhg-jwr4-vxgg | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| guillaumepotier/gettext.js | commit, package, security_advisory | yes | /v1/repositories/guillaumepotier/gettext.js |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts