CVE-2023-23936: CRLF Injection in Nodejs ‘undici’ via host
CVE-2023-23936 affects 29 listed versions of Node.js in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Node.js
29 of 250 listed versions are affected. Fixed in 19.6.1, 18.14.1, 16.19.1. The newest release, 26.14.0, is not affected.
19.6.0 19.5.0 19.4.0 19.3.0 19.2.0 19.1.0 19.0.1 19.0.0 18.14.0 18.13.0 18.12.1 18.12.0 18.11.0 18.10.0 18.9.1 18.9.0 18.8.0 18.7.0 18.6.0 18.5.0 18.4.0 18.3.0 18.2.0 18.1.0 18.0.5 18.0.0 16.19.0 16.18.1 16.18.0
What it is
Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N (NVD)
Published by GitHub on 16 February 2023. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2023-23936 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.