Read the docs
TI-2026-30209 Aliases CVE-2026-41692GHSA-6457-mxpq-4fqq

i18nextify is vulnerable to DOM XSS via javascript:/data: URL schemes in translated href/src attributes

Priority LOW 21CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting, Code execution
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79 and CWE-94.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00144 3rd percentileScored 2026-11-07
Fix Fixed i18nextify (i18next): 4.0.8i18nextify (npm): 4.0.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
i18nexti18nextifybefore 4.0.84.0.8Patch availableCNA
—i18nextify (npm)before 4.0.84.0.8Patch availableGHSA-6457-mxpq-4fqq
  • i18nextify Vendori18next Affected before 4.0.8 Fixed in 4.0.8 Patch available CNA
  • i18nextify (npm) Vendor— Affected before 4.0.8 Fixed in 4.0.8 Patch available GHSA-6457-mxpq-4fqq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:i18next:i18nextify:*:*:*:*:*:*:*:*before 4.0.8Vulnerablei18next
  • cpe:2.3:a:i18next:i18nextify:*:*:*:*:*:*:*:* Versions before 4.0.8 Vulnerable ·i18next

Remediation

  • Fix · CNA i18nextify (i18next) Fixed in 4.0.8
  • Fix · GHSA-6457-mxpq-4fqq i18nextify (npm) Fixed in 4.0.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-41692
  2. 2026-10-03 Alias added: GHSA-6457-mxpq-4fqq

References

Sources