Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. i18nextify
  4. ›
  5. CVE-2026-41692

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

April 22, 2026 (updated May 11, 2026)

Versions of i18nextify 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 (replaceInside handler around line 122) 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.

References

  • github.com/advisories/GHSA-6457-mxpq-4fqq
  • github.com/i18next/i18nextify/commit/16f23dbcdcf893673587f7a03355bf7ce0a0e49e
  • github.com/i18next/i18nextify/security/advisories/GHSA-6457-mxpq-4fqq
  • nvd.nist.gov/vuln/detail/CVE-2026-41692

Code Behaviors & Features

Detect and mitigate CVE-2026-41692 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.8

Fixed versions

  • 4.0.8

Solution

Upgrade to version 4.0.8 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/i18nextify/CVE-2026-41692.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.