# CVE-2026-41692: i18nextify is vulnerable to DOM XSS via javascript:/data: URL schemes in translated href/src attributes

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-22T17:42:24.000Z
- Modified: 2026-10-26T20:10:00.160Z
- Also known as: GHSA-6457-mxpq-4fqq
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- i18next i18nextify: < 4.0.8; before 4.0.8
- i18nextify (npm): before 4.0.8

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/i18next/i18nextify/security/advisories/GHSA-6457-mxpq-4fqq> (vendor-advisory, web)
- <https://github.com/i18next/i18nextify/commit/16f23dbcdcf893673587f7a03355bf7ce0a0e49e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41692> (advisory)
- <https://github.com/i18next/i18nextify> (package)

## Sources

- CVE List: [CVE-2026-41692](https://www.cve.org/CVERecord?id=CVE-2026-41692), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-6457-mxpq-4fqq](https://github.com/advisories/GHSA-6457-mxpq-4fqq), CC-BY-4.0, modified 2026-05-11
- NVD: [CVE-2026-41692](https://nvd.nist.gov/vuln/detail/CVE-2026-41692), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41692 · Whole record: https://cve.day/CVE-2026-41692.json · Rebuilt by cve.day 2026-11-25T22:59:20.925Z
