CVE-2026-41683
Published:May 08, 2026
Updated:May 16, 2026
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.
Affected Packages
https://github.com/i18next/i18next-http-middleware.git (GITHUB):
Affected version(s) >=v1.0.0 <v3.9.3Fix Suggestion:
Update to version v3.9.3i18next-http-middleware (NPM):
Affected version(s) >=1.0.0 <3.9.3Fix Suggestion:
Update to version 3.9.3i18next-http-middleware (NPM):
Affected version(s) >=1.0.0 <3.9.3Fix Suggestion:
Update to version 3.9.3Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.05