{"id":"CVE-2026-41692","published":"2026-05-07T20:01:59Z","modified":"2026-05-11T18:04:43Z","title":"i18nextify is vulnerable to DOM XSS via javascript:/data: URL schemes in translated href/src attributes","vendor":"i18next","product":"i18nextify","tier":"tail","description":{"text":"i18nextify is a JavaScript library that adds website internationalization via a script tag, without source code changes. Versions prior to 4.0.8 substitute {{key}} interpolation tokens inside src and href attribute values with the raw string returned by i18next.t(). The substitution logic in src/localize.js (the replaceInside handler) only guards against a duplicated http:// origin prefix — it does not validate the URL scheme of the substituted value. A translated value such as javascript:alert(1) or data:text/html,<script>...</script> is applied unchanged to the live DOM attribute when an attacker can influence the content of a translation file or the translation-backend response — for example, via a compromised translation CDN, user-contributed locales, a MITM on a plain-HTTP backend, or write access to the translation JSON. This issue was patched in version 4.0.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00144,"percentile":0.03773,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/i18next/i18nextify/security/advisories/GHSA-6457-mxpq-4fqq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/i18next/i18nextify/commit/16f23dbcdcf893673587f7a03355bf7ce0a0e49e","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":0.75},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"i18next","affectedVersions":[{"vendor":"i18next","product":"i18nextify","versions":["< 4.0.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:03:40.834025Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"i18nextify","vulnerableRanges":["<4.0.8"],"patched":["4.0.8"],"from":["GHSA-6457-mxpq-4fqq"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-28440","exploited":false,"provenance":"source"}}