Vulnerability record · CVE-2023-23936 · published 16 February 2023
CVE-2023-23936: Nodejs node.js injection vulnerability
Nodejs · Node.Js
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.
Description
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
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 | Patch |
| https://github.com/nodejs/undici/releases/tag/v5.19.1 | Release Notes |
| https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff | Vendor Advisory |
| https://hackerone.com/reports/1820955 | ExploitThird Party Advisory |
| https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034 | Patch |
| https://github.com/nodejs/undici/releases/tag/v5.19.1 | Release Notes |
| https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff | Vendor Advisory |
| https://hackerone.com/reports/1820955 | ExploitThird Party Advisory |
Track CVE-2023-23936 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-23936), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.