Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-41692: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in i18next i18nextify

0
Medium
VulnerabilityCVE-2026-41692cvecve-2026-41692cwe-79cwe-94
Published: 05/07/2026 (05/07/2026, 20:01:59 UTC)
Source: CVE Database V5
Vendor/Project: i18next
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

i18nextify
pkg:npm/i18nextify
Affected versions
<4.0.8

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

AILast updated: 05/15/2026, 10:42:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses