{"id":"CVE-2024-43370","published":"2024-08-15T23:44:47Z","modified":"2024-08-16T15:10:20Z","title":"gettext.js vulnerable to cross-site scripting (XSS)","vendor":"guillaumepotier","product":"gettext.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.32826,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/guillaumepotier/gettext.js/security/advisories/GHSA-vwhg-jwr4-vxgg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/guillaumepotier/gettext.js/commit/8150aeba833183e14c2291a8a148b8f79d1d68d8","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":6.57},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"guillaumepotier","affectedVersions":[{"vendor":"guillaumepotier","product":"gettext.js","versions":["< 2.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-16T15:10:02.984428Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"gettext.js","vulnerableRanges":["<2.0.3"],"patched":["2.0.3"],"from":["GHSA-vwhg-jwr4-vxgg"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) injection in gettext.js, the GNU gettext port for Node and the browser, triggered when .po dictionary definition files are corrupted. An attacker who can get a corrupted .po file into the definition catalog can inject script into the page, with the attack reachable over the network, requiring no privileges or user interaction, and no special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:00Z"},"euvd":{"id":"EUVD-2024-2670","exploited":false,"provenance":"source"}}