CVE-2026-41683

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.
Configurations

No configuration.

History

26 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) i18next-http-middleware es un middleware para usar con frameworks web de Node.js como express o Fastify y también para Deno. Antes de la versión 3.9.3, i18next-http-middleware escribía valores de idioma controlados por el usuario en el encabezado de respuesta ’Content-Language’ después de pasarlos por utils.escape(), que es un codificador de entidades HTML que no elimina el retorno de carro, el salto de línea u otros caracteres de control. Cuando la aplicación usaba una versión anterior de i18next (menor que 19.5.0) que aún ejercía el fallback de compatibilidad con versiones anteriores en LanguageDetector.js:100 o de otro modo producía un valor detectado en bruto, las secuencias CRLF en el parámetro lng controlado por el atacante llegaban a res.setHeader(’Content-Language’, ...) literalmente. Este problema ha sido parcheado en la versión 3.9.3.

Information

Published : 2026-05-08 16:16

Updated : 2026-10-26 18:10


NVD link : CVE-2026-41683

Mitre link : CVE-2026-41683

CVE.ORG link : CVE-2026-41683


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-113

Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')