Vulnerability details

CVE-2026-41683

i18next i18next-http-middleware

HTTP response splitting and DoS in i18next-http-middleware via unsanitised Content-Language header

CVSS 3.1
8.6High

Official 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.

CVSS scores

ScoreVersionSourceVector
8.6High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Affected products

VendorProductVersionsSource
i18next i18next-http-middleware < 3.9.3 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-05-08
Last updated
2026-05-09
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.32%
Probability of exploitation in 30 days
25.9%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-79
    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-113
    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')