Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
HTTP response splitting and DoS in i18next-http-middleware via unsanitised Content-Language header
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
i18next-http-middleware 跨站脚本漏洞
Vulnerability Description
i18next-http-middleware是i18next开源的一个用于Node.js和Deno的HTTP国际化中间件。 i18next-http-middleware 3.9.3之前版本存在跨站脚本漏洞,该漏洞源于将用户控制的语言值写入Content-Language响应标头时未正确清理回车、换行等控制字符,可能导致CRLF注入。
CVSS Information
N/A
Vulnerability Type
N/A