Vulnerability

CVE-2026-41683

highCVSS 3.1 8.6Published 8 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /i18next/i18next-http-middleware/security/advisories/GHSA-c…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning