CVE-2026-41683
i18next-http-middleware is a middleware to be used with Node.js web …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/i18next/i18next-http-middleware/security/advisories/GHSA-c3h8-g69v-pjrg
- github.com/i18next/i18next-http-middleware/commit/65301c194593d46a84623b64e5fde2f51d3550f6
- github.com/advisories/GHSA-c3h8-g69v-pjrg
- nvd.nist.gov/vuln/detail/CVE-2026-41683
- nvd.nist.gov/vuln/detail/CVE-2026-41683
- cve.org/CVERecord?id=CVE-2026-41683
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.