CVE-2026-41683

HIGH

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1

Scores

CVSS v3 8.6
EPSS 0.0002
EPSS Percentile 4.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-113 CWE-79
Status published
Products (2)
i18next/i18next-http-middleware < 3.9.3
npm/i18next-http-middleware 0 - 3.9.3npm
Published May 08, 2026
Tracked Since May 08, 2026