Improper input validation in Node.js
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.040, 90.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js
- The Node.js Project — versions All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- nodejs.org/en/blog/vulnerability/november-2018-security-releases/ (Patch, Vendor Advisory)
- RHSA-2019:1821 (vendor-advisory, Third Party Advisory)
- GLSA-202003-48 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20241213-0008/