Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 14 min 148 bronnen 1 kritiek 4 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-41691

MEDIUM · 6.5 CVSS Gepubliceerd: CWE-22

Beschrijving NL

Copilot zei: i18nextify is een JavaScript-bibliotheek die
i18nextify is een JavaScript-bibliotheek die website-internationalisatie toevoegt via een scripttag, zonder wijzigingen in de broncode. Versies vóór 3.0.5 interpoleren de lng- en ns-waarden rechtstreeks in het geconfigureerde loadPath /addPath URL-sjabloon zonder enige codering, validatie of padontsmetting. Wanneer een toepassing de taalcodeselectie blootstelt aan door de gebruiker gecontroleerde invoer (de standaard — i18next-browser-languagedetector leest ?lng= queryparams, cookies, localStorage en request headers), kan een aanvaller tekens injecteren die de structuur van de URL van het uitgaande verzoek wijzigen. Dit is een kwetsbaarheid voor één URL-injectie. De door de aanvaller gecontroleerde waarde wordt geneutraliseerd voordat deze wordt gebruikt als onderdeel van een URL-uitvoerreeks; de aanvalsvorm omvat zowel padtraversale als bredere URL-structuurinjectie — beide worden gesloten door de ene interpolateUrl sanitization fix. Dit probleem is opgelost in versie 3.0.5. Als gebruikers niet onmiddellijk kunnen upgraden, kunnen ze het probleem omzeilen door lng / ns te ontsmetten voordat ze i18next bereiken (strip .., /,,?, #, %, witruimte en controletekens; beperk de lengte).

Origineel (Engels) tonen

Copilot said: i18nextify is a JavaScript library that adds
i18nextify is a JavaScript library that adds website internationalization via a script tag, without source code changes. Versions prior to 3.0.5 interpolate the lng and ns values directly into the configured loadPath / addPath URL template without any encoding, validation, or path sanitisation. When an application exposes the language-code selection to user-controlled input (the default — i18next-browser-languagedetector reads ?lng= query params, cookies, localStorage, and request headers), an attacker can inject characters that change the structure of the outgoing request URL. This is a single URL-injection vulnerability. The attacker-controlled value is neutralised before it is used as part of an output URL string; the attack shape covers both path traversal and broader URL-structure injection — both are closed by the one interpolateUrl sanitisation fix. This issue has been fixed in version 3.0.5. If users cannot upgrade immediately, they can work around the issue by sanitising lng / ns before they reach i18next (strip .., /, , ?, #, %, whitespace, and control characters; cap the length).

Vendors

I18next

Affected products

I18next-http-backend

References