{"id":"CVE-2026-41683","published":"2026-05-08T15:27:05Z","modified":"2026-05-08T23:29:00Z","title":"HTTP response splitting and DoS in i18next-http-middleware via unsanitised Content-Language header","vendor":"i18next","product":"i18next-http-middleware","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.26506,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/i18next/i18next-http-middleware/security/advisories/GHSA-c3h8-g69v-pjrg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":5.3},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"i18next","affectedVersions":[{"vendor":"i18next","product":"i18next-http-middleware","versions":["< 3.9.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-08T23:28:40.338694Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"i18next-http-middleware","vulnerableRanges":["<3.9.3"],"patched":["3.9.3"],"from":["GHSA-c3h8-g69v-pjrg"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-28791","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-i18next-http-middleware-cve-2026-41683","children":[{"from":"CVE-2026-41683","to":"CVE-2026-48714","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:i18next-http-middleware","fromFixed":"3.9.3","toFixed":"3.9.7","daysApart":38},{"kind":"same-code","provenance":"machine","files":["lib/index.js","lib/utils.js"],"commits":["https://github.com/i18next/i18next-http-middleware/commit/65301c194593d46a84623b64e5fde2f51d3550f6","https://github.com/i18next/i18next-http-middleware/commit/7c6d26f137d3e940b8d229ca148bca38845faf49"],"basis":"shared function","functions":["missingKeyHandler"]}]}],"packageHistory":[{"cve":"CVE-2026-41683","published":"2026-05-08","fixed":"3.9.3","kev":false},{"cve":"CVE-2026-41690","published":"2026-05-08","fixed":"3.9.3","kev":false},{"cve":"CVE-2026-42353","published":"2026-05-08","fixed":"3.9.3","kev":false},{"cve":"CVE-2026-48714","published":"2026-06-15","fixed":"3.9.7","kev":false}],"package":"npm:i18next-http-middleware"}}