{"id":"CVE-2026-41692","summary":"i18nextify is vulnerable to DOM XSS via javascript:/data: URL schemes in translated href/src attributes","details":"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,\u003cscript\u003e...\u003c/script\u003e 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.","aliases":["GHSA-6457-mxpq-4fqq"],"modified":"2026-08-12T03:51:09.307878110Z","published":"2026-05-07T20:01:59.272Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41692.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41692.json"},{"type":"ADVISORY","url":"https://github.com/i18next/i18nextify/security/advisories/GHSA-6457-mxpq-4fqq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41692"},{"type":"FIX","url":"https://github.com/i18next/i18nextify/commit/16f23dbcdcf893673587f7a03355bf7ce0a0e49e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/i18next/i18nextify","events":[{"introduced":"0"},{"fixed":"8f5c2f38c06f7d1f0dfc682a63e7f4e4e578882d"},{"fixed":"16f23dbcdcf893673587f7a03355bf7ce0a0e49e"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:i18next:i18nextify:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.0.8"}]}}],"versions":["v4.0.7","v4.0.6","v4.0.5","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.3.4","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.2","v3.1.1","v3.1.0","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.6.0","v2.5.11","v2.5.10","v2.5.9","v2.5.8","v2.5.7","v2.5.6","v2.5.5","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.5.1","v1.5.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.9.0","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0","0.0.5","0.0.4","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41692.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}