HTTP Response Splitting Affecting i18next-http-middleware package, versions <3.9.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-I18NEXTHTTPMIDDLEWARE-16415527
  • published4 May 2026
  • disclosed22 Apr 2026
  • creditUnknown

Introduced: 22 Apr 2026

NewCVE-2026-41683  (opens in a new tab)
CWE-113  (opens in a new tab)

How to fix?

Upgrade i18next-http-middleware to version 3.9.3 or higher.

Overview

i18next-http-middleware is an i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno.

Affected versions of this package are vulnerable to HTTP Response Splitting via the lng parameter, which is passed through to the response's Content-Language header, after some sanitization with utils.escape(). An attacker can inject arbitrary HTTP headers or cause denial of service by including carriage return and line feed (CRLF) characters. This can result in session fixation, cache poisoning, reflected content injection, or process-wide unhandled exceptions depending on the Node.js version.

Response splitting is possible on applications based on Node versions prior to 14.6.0, which may enable cross-site scripting. Newer versions of Node are susceptible to denial of service only, since the CRLF sequence triggers a ERR_INVALID_CHAR, which is unhandled.

CVSS Base Scores

version 4.0
version 3.1