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

Published May 7, 2026
·
Updated

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.

Affected Software

2 affected components
npm/i18nextify<4.0.8
i18next i18nextify<4.0.8

Event History

May 7, 2026
CVE Published
via MITRE·08:01 PM
Data Sourced
via MITRE·08:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-41692?

The severity of CVE-2026-41692 is categorized as high due to its potential to allow DOM-based cross-site scripting attacks.

2

How do I fix CVE-2026-41692?

To fix CVE-2026-41692, upgrade i18nextify to version 4.0.8 or later to mitigate the vulnerability.

3

What versions of i18nextify are affected by CVE-2026-41692?

All versions of i18nextify prior to 4.0.8 are affected by CVE-2026-41692.

4

What types of attacks does CVE-2026-41692 enable?

CVE-2026-41692 enables DOM-based cross-site scripting (XSS) attacks via malicious javascript:/data: URL schemes.

5

Is there a workaround for CVE-2026-41692 if I can't upgrade?

If upgrading is not possible, avoid using the affected features that allow interpolation in href/src attributes until a fix can be applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203