{"id":"CVE-2018-12123","state":"PUBLISHED","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 javascript protocol: If a Node.js application is using url.parse() to","description":"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.","publishedAt":"2018-11-28T17:00:00.000Z","updatedAt":"2026-10-08T21:14:00.915Z","severity":null,"assigner":"nodejs","products":["The Node.js Project Node.js"],"affected":[{"vendor":"The Node.js Project","product":"Node.js","versions":[{"version":"All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0","status":"affected"}]}],"references":["https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/","https://access.redhat.com/errata/RHSA-2019:1821","https://security.gentoo.org/glsa/202003-48","https://security.netapp.com/advisory/ntap-20241213-0008/"],"weaknesses":["CWE-115"],"ingestedAt":"2026-10-29T19:44:15.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/12xxx/CVE-2018-12123.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2018-12123","state":"PUBLISHED","datePublished":"2018-11-28T17:00:00.000Z","dateUpdated":"2026-10-08T21:14:00.915Z","assignerShortName":"nodejs","assignerOrgId":"386269d4-a6c6-4eaa-bf8e-bc0b0d010558","dateReserved":"2018-06-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"The Node.js Project","product":"Node.js","versions":[{"version":"All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0","status":"affected"}]}],"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","name":"RHSA-2019:1821","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/202003-48","name":"GLSA-202003-48","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-115","description":"CWE-115: Misinterpretation of Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"nodejs","dateUpdated":"2020-03-20T20:06:13.000Z","orgId":"386269d4-a6c6-4eaa-bf8e-bc0b0d010558"},"datePublic":"2018-11-28T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-request@iojs.org","ID":"CVE-2018-12123","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Node.js","version":{"version_data":[{"version_value":"All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0"}]}}]},"vendor_name":"The Node.js Project"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-115: Misinterpretation of Input"}]}]},"references":{"reference_data":[{"name":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/","refsource":"CONFIRM","url":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/"},{"name":"RHSA-2019:1821","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:1821"},{"name":"GLSA-202003-48","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202003-48"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1821","name":"RHSA-2019:1821","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202003-48","name":"GLSA-202003-48","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20241213-0008/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-12-13T13:09:21.262Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2018-12123","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-08T21:10:55.952251Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T21:14:00.915Z"}}]}}}