Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. i18next-http-middleware
  4. ›
  5. CVE-2026-41683

CVE-2026-41683: i18next-http-middleware: HTTP response splitting and DoS via unsanitised Content-Language header

April 22, 2026 (updated May 13, 2026)

Versions of i18next-http-middleware prior to 3.9.3 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.

References

  • github.com/advisories/GHSA-c3h8-g69v-pjrg
  • github.com/i18next/i18next-http-middleware/commit/65301c194593d46a84623b64e5fde2f51d3550f6
  • github.com/i18next/i18next-http-middleware/security/advisories/GHSA-c3h8-g69v-pjrg
  • nvd.nist.gov/vuln/detail/CVE-2026-41683

Code Behaviors & Features

Detect and mitigate CVE-2026-41683 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.9.3

Fixed versions

  • 3.9.3

Solution

Upgrade to version 3.9.3 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

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

Source file

npm/i18next-http-middleware/CVE-2026-41683.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:31 +0000.