Cross-site scriptingin i18next-http-middleware.
No public exploit found; not on exploited lists.
i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno. Prior to version 3.9.3, i18next-http-middleware wrote user-controlled language values into the Content-Language response header after passing them through utils.escape(), which is an HTML-entity encoder that does not strip carriage return, line feed, or other control characters. When the application used an older i18next (< 19.5.0) that still exercised the backward-compatibility fallback at LanguageDetector.js:100 or otherwise produced a raw detected value, CRLF sequences in the attacker-controlled lng parameter reached res.setHeader('Content-Language', ...) verbatim. This issue has been patched in version 3.9.3.
- Upgrade i18next-http-middleware to 3.9.3 or later.
- Upgrade i18next-http-middleware (npm) to 3.9.3 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Apr 2026CVE ID reserved by GitHub_M.
- 8 May 2026Published in the CVE List.
- 8 May 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other i18next-http-middleware vulnerabilities
Same weakness: Cross-site scripting
- github.com x_refsource_CONFIRM
Patchminder. CVE-2026-41683: Cross-site scripting in i18next-http-middleware. https://patchminder.com/cve/cve-2026-41683/ (accessed 5 December 2026).