CVE-2026-41683

High

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.

SeverityHigh
CVSS8.6
Exploit probability—
ProductI18next-http-middleware
PublishedMay 8, 2026
First seenMay 8, 2026

How to fix

Update
  • i18next-http-middleware3.9.3 or later

Affected products

ProductAffected versionsFixed in
i18next-http-middlewarenpmv < 3.9.33.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-41683 · I18next-http-middleware · Dark Radar