NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-43370: gettext.js has a Cross-site Scripting injection

highCVSS 3.1 7.2GHSA-vwhg-jwr4-vxgg

Impact Possible vulnerability to XSS injection if .po dictionary definition files is corrupted Patches Update gettext.js to 2.0.3 Workarounds Make sure you control the origin of the definition catalog to prevent the use of this flaw in the definition of plural forms.

Published Aug 15, 2024 · Updated Aug 16, 2024

Affected packages

gettext.js

Ecosystem
npm
Affected
< 2.0.3
Fixed in
2.0.3
Check
npm ls gettext.js

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

Possible vulnerability to XSS injection if .po dictionary definition files is corrupted

Patches

Update gettext.js to 2.0.3

Workarounds

Make sure you control the origin of the definition catalog to prevent the use of this flaw in the definition of plural forms.

Credited to mcoimbra, filipeom.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology