CVE-2024-43370
High
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.
SeverityHigh
CVSS7.2
Exploit probability—
ProductGettext.js
PublishedAug 16, 2024
First seenAug 16, 2024
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- gettext.js2.0.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gettext.jsnpm | v < 2.0.3 | 2.0.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.