Vulnerabilities/

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

Severity:
High

Description

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.

Recommendation

Update the i18next-http-middleware package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
i18next-http-middleware
Anything's wrong? Let us know Last updated on May 13, 2026