CVE-2024-43370
gettext.js is a GNU gettext port for node and the browser. There is …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/guillaumepotier/gettext.js/commit/8150aeba833183e14c2291a8a148b8f79d1d68d8
- github.com/guillaumepotier/gettext.js/security/advisories/GHSA-vwhg-jwr4-vxgg
- nvd.nist.gov/vuln/detail/CVE-2024-43370
- github.com/advisories/GHSA-vwhg-jwr4-vxgg
- nvd.nist.gov/vuln/detail/CVE-2024-43370
- cve.org/CVERecord?id=CVE-2024-43370
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.