{"id":"CVE-2018-12123","details":"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.","modified":"2026-04-16T00:02:07.100660892Z","published":"2018-11-28T17:29:00.417Z","related":["SUSE-SU-2019:0117-1","SUSE-SU-2019:0118-1","SUSE-SU-2019:0395-1","SUSE-SU-2019:14246-1","openSUSE-SU-2019:0089-1"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:1821"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202003-48"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241213-0008/"},{"type":"FIX","url":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nodejs/node","events":[{"introduced":"ce3e3c5fe15479475c068482c48eb9cbf1ac9df5"},{"fixed":"b6589e3d9be963b29a8559bf7b272b54284fe1bc"},{"introduced":"0d8021e5a4cf0a6aa3a700a361f6d42c2894f2ba"},{"fixed":"39716a8835a0ba61683974aef70e05ce7f8e414a"},{"introduced":"cf41627411886000429bde058a6594fb7f6d6d47"},{"fixed":"b7103135bc7987dee97e8795b0b38293d05fd842"},{"introduced":"cea049bcf8bb0f9a6e0095dbd5dffdb14dc8f71b"},{"fixed":"00fb73a72eff0e90d0f85b95dbcfc3c21f89cff9"}],"database_specific":{"extracted_events":[{"introduced":"6.0.0"},{"fixed":"6.15.0"},{"introduced":"8.0.0"},{"fixed":"8.14.0"},{"introduced":"10.0.0"},{"fixed":"10.14.0"},{"introduced":"11.0.0"},{"fixed":"11.3.0"}],"source":"CPE_FIELD","cpe":["cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*","cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*"]}}],"versions":["v10.0.0","v10.1.0","v10.10.0","v10.11.0","v10.12.0","v10.13.0","v10.2.0","v10.2.1","v10.3.0","v10.4.0","v10.4.1","v10.5.0","v10.6.0","v10.7.0","v10.8.0","v10.9.0","v11.0.0","v11.1.0","v11.2.0","v6.0.0","v6.1.0","v6.10.0","v6.10.1","v6.10.2","v6.10.3","v6.11.0","v6.11.1","v6.11.2","v6.11.3","v6.11.4","v6.11.5","v6.12.0","v6.12.1","v6.12.2","v6.12.3","v6.13.0","v6.13.1","v6.14.0","v6.14.1","v6.14.2","v6.14.3","v6.14.4","v6.2.0","v6.2.1","v6.2.2","v6.3.0","v6.3.1","v6.4.0","v6.5.0","v6.6.0","v6.7.0","v6.8.0","v6.8.1","v6.9.0","v6.9.1","v6.9.2","v6.9.3","v6.9.4","v6.9.5","v8.0.0","v8.1.0","v8.1.1","v8.1.2","v8.1.3","v8.1.4","v8.10.0","v8.11.0","v8.11.1","v8.11.2","v8.11.3","v8.11.4","v8.12.0","v8.13.0","v8.2.0","v8.2.1","v8.3.0","v8.4.0","v8.5.0","v8.6.0","v8.7.0","v8.8.0","v8.8.1","v8.9.0","v8.9.1","v8.9.2","v8.9.3","v8.9.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12123.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}