{"id":"CVE-2026-41692","revision":"c5d1fd356bdb49778c8dc5ae332397b4","records":[{"revision":"c5d1fd356bdb49778c8dc5ae332397b4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-41692","aliases":[],"title":"i18nextify is vulnerable to DOM XSS via javascript:/data: URL schemes in translated href/src attributes","description":"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.","state":0,"publishedAt":"2026-05-07T20:01:59.272+00:00","modifiedAt":"2026-05-11T18:04:43.65+00:00","affected":[{"ecosystem":"Vendor product","name":"i18nextify","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"i18next\",\n                    \"product\": \"i18nextify\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.0.8\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"severity":"MEDIUM"}],"references":["https://github.com/i18next/i18nextify/security/advisories/GHSA-6457-mxpq-4fqq","https://github.com/i18next/i18nextify/commit/16f23dbcdcf893673587f7a03355bf7ce0a0e49e"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-41692","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-41692","identifiers":["CVE-2026-41692"]},"retained":false,"historicalAffected":[]}],"coverage":[]}