p PatchFirst

CVE-2026-41692

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 4.7 · Moyenne · EPSS 0,1% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • i18nextify

    Versions du logiciel
    • < 4.0.8: Concernée

    Aucun correctif publié

  • i18nextify npm

    Plages de versions concernées
    • SEMVER: < 4.0.8

    Mettez à jour vers 4.0.8

Sources originales

Vérifiez votre serveur →