CVE-2026-41692: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in i18next i18nextify
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.
AI Analysis
Technical Summary
The vulnerability in i18nextify versions before 4.0.8 involves improper neutralization of input during web page generation (CWE-79). Specifically, the library replaces {{key}} tokens in src and href attributes with raw translation strings without validating the URL scheme. An attacker able to control translation content—via compromised translation CDN, user-contributed locales, MITM on HTTP backend, or write access to translation JSON—can inject malicious URLs like javascript:alert(1) or data:text/html,<script>...</script>. This leads to cross-site scripting when the malicious URL is applied to live DOM attributes. The issue was patched in version 4.0.8.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of the affected website, potentially leading to data theft, session hijacking, or other client-side attacks. The impact is limited to confidentiality and integrity with no direct availability impact. The CVSS score is 4.7 (medium severity) with network attack vector, high attack complexity, no privileges required, user interaction required, and scope changed.
Mitigation Recommendations
A fix is available in i18nextify version 4.0.8. Users should upgrade to version 4.0.8 or later to remediate this vulnerability. Until upgraded, avoid using untrusted or user-contributed translation content and ensure translation backends are secured against tampering. Patch status is confirmed by the vendor advisory indicating the issue was fixed in version 4.0.8.
CVE-2026-41692: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in i18next i18nextify
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.
CVSS v3.1
Score 4.7medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in i18nextify versions before 4.0.8 involves improper neutralization of input during web page generation (CWE-79). Specifically, the library replaces {{key}} tokens in src and href attributes with raw translation strings without validating the URL scheme. An attacker able to control translation content—via compromised translation CDN, user-contributed locales, MITM on HTTP backend, or write access to translation JSON—can inject malicious URLs like javascript:alert(1) or data:text/html,<script>...</script>. This leads to cross-site scripting when the malicious URL is applied to live DOM attributes. The issue was patched in version 4.0.8.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of the affected website, potentially leading to data theft, session hijacking, or other client-side attacks. The impact is limited to confidentiality and integrity with no direct availability impact. The CVSS score is 4.7 (medium severity) with network attack vector, high attack complexity, no privileges required, user interaction required, and scope changed.
Mitigation Recommendations
A fix is available in i18nextify version 4.0.8. Users should upgrade to version 4.0.8 or later to remediate this vulnerability. Until upgraded, avoid using untrusted or user-contributed translation content and ensure translation backends are secured against tampering. Patch status is confirmed by the vendor advisory indicating the issue was fixed in version 4.0.8.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-22T03:53:24.407Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fcf7c7cbff5d86102fe194
Added to database: 05/07/2026, 20:36:23 UTC
Last enriched: 05/15/2026, 10:42:25 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 106
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.