{"id":"CVE-2018-12123","published":"2018-11-28T17:00:00Z","modified":"2026-10-08T21:14:00Z","title":"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…","vendor":"The Node.js Project","product":"Node.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04032,"percentile":0.90842,"provenance":"source"},"cwes":[{"id":"CWE-115","name":"Misinterpretation of Input"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1821","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/202003-48","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://security.netapp.com/advisory/ntap-20241213-0008/","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":18.17}]},"vendorSlug":"the-node-js-project","affectedVersions":[{"vendor":"The Node.js Project","product":"Node.js","versions":["All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T21:10:55.952251Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is in Node.js's url.parse() function, where the URL parser mishandles the \"javascript:\" protocol when it is written in mixed case (for example \"javAscript:\"), causing the reported hostname to be spoofed; other protocols are not affected. An attacker able to supply a crafted mixed-case \"javascript:\" URL to an application that uses url.parse() to determine the hostname can cause security decisions based on that hostname to be incorrect, provided the application makes such decisions on the parsed result.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:23:23Z"},"euvd":{"id":"EUVD-2018-4101","exploited":false,"provenance":"source"}}