CVE-2018-12123: Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostname spoofing in URL parser for
CVE-2018-12123 is a medium-severity flaw (CVSS 4.3) affecting node.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostname spoofing in URL parser for javascript protocol: If a Node.js application is using url.parse() to determine the URL hostname, that hostname can be spoofed by using a mixed case "javascript:" (e.g. "javAscript:") protocol (other protocols are not affected). If security decisions are made about the URL based on the hostname, they may be incorrect.
Why this priority
- EPSS top 9%: very likely to be exploited
A fixed release or distro patch exists.
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-12123?
node.js: upgrade to 6.15.0, 8.14.0, 10.14.0, 11.3.0. Exact commands for each OS are on this page.
Is CVE-2018-12123 being exploited?
CVE-2018-12123 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-12123 affect?
CVE-2018-12123 affects node.js. Severity is medium (CVSS 4.3). Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostname spoofing in URL parser for javascript protocol: If a Node.js application is using url.parse() to determine the URL hostname, that hostname can be spoofed by
How urgent is CVE-2018-12123?
Priority 38/100. EPSS top 9%: very likely to be exploited
Software pages
Related CVEs
- CVE-2026-111497 CRITICAL 9.8 EXPLOITED UPGRADE UPGRADE Google Brotli Unchecked Return Value Vulnerability
- CVE-2026-48617 HIGH 8.2 UPGRADE A flaw in Node.js Permission Model enforcement allows Bypass via `process.report.writeReport()` Path Misvalida
- CVE-2026-48937 HIGH 7.5 UPGRADE A flaw in Node.js HTTP/2 server API can cause servers to keep accepting data even after sending a `GOAWAY` fra
- CVE-2026-48931 LOW 3.7 DOWNGRADE A flaw in Node.js HTTP Agent can cause a client to accept as valid a response that is send before the client h
- CVE-2026-48933 HIGH 7.5 DOWNGRADE A flaw in Node.js WebCrypto implementation can crash the process if the input of `subtle.encrypt()` is a multi