Skip to content
OpenAdvisories
Unscored CVE-2018-12123 EUVD-2018-4101GHSA-f6m9-hpfw-xjw4

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 No…

Published Nov 28, 2018 · Updated Oct 8, 2026 · Assigned by nodejs

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.

Affected products

VendorProductAffectedFixed
The Node.js Project Node.js All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 10.15.0~dfsg-6 —
Debian 13 nodejs 10.15.0~dfsg-6 —
Debian 12 nodejs 10.15.0~dfsg-6 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS nodejs 8.10.0~dfsg-2ubuntu0.4+esm1 USN-4796-1
Ubuntu Pro 16.04 LTS nodejs 4.2.6~dfsg-1ubuntu4.2+esm1 USN-4796-1
Ubuntu Pro 14.04 LTS nodejs 0.10.25~dfsg2-2ubuntu1.2+esm1 USN-4796-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-nodejs10 +2 3.2-3.el7 RHSA-2019:2939
RHEL 3 rh-nodejs10-nodejs +2 10.16.3-3.el7 RHSA-2019:2939
RHEL 3 rh-nodejs10-npm 6.9.0-10.16.3.3.el7 RHSA-2019:2939
RHEL 3 rh-nodejs8-nodejs +2 8.16.0-1.el7 RHSA-2019:1821
RHEL 3 rh-nodejs8-npm 6.4.1-8.16.0.1.el7 RHSA-2019:1821
ReleasePackageFixed inAdvisory
SLES 15 nodejs8 8.15.0-3.11.1 SUSE-SU-2019:0118-1
SLES 12 nodejs4 4.9.1-15.17.1 SUSE-SU-2019:0117-1
SLES 12 nodejs6 6.16.0-11.21.1 SUSE-SU-2019:0395-1
SLES 11 SP4 MozillaFirefox 68.2.0-78.51.4 SUSE-SU-2019:14246-1
SLES 11 SP4 MozillaFirefox-branding-SLED 68-21.9.8 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-atk 2.26.1-2.8.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-cairo 1.15.10-2.13.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-gdk-pixbuf 2.36.11-2.8.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-glib2 2.54.3-2.14.7 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-gtk3 3.10.9-2.15.3 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-harfbuzz 1.7.5-2.7.4 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-libffi 3.2.1.git259-2.3.3 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-libffi-gcc5 5.3.1+r233831-14.1 SUSE-SU-2019:14246-1
SLES 11 SP4 firefox-pango 1.40.14-2.7.4 SUSE-SU-2019:14246-1
SLES 11 SP4 mozilla-nspr 4.21-29.6.1 SUSE-SU-2019:14246-1
SLES 11 SP4 mozilla-nss 3.45-38.9.3 SUSE-SU-2019:14246-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud Crowbar 8 nodejs6 6.16.0-11.21.1 SUSE-SU-2019:0395-1
SUSE OpenStack Cloud 7 nodejs6 6.16.0-11.21.1 SUSE-SU-2019:0395-1
SUSE Enterprise Storage 4 nodejs4 4.9.1-15.17.1 SUSE-SU-2019:0117-1
SUSE Enterprise Storage 4 nodejs6 6.16.0-11.21.1 SUSE-SU-2019:0395-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.0 nodejs8 8.15.0-lp150.2.9.1 openSUSE-SU-2019:0089-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 10.14.0-r0 —
Alpine v3.24 nodejs-current 11.3.0-r0 —
Alpine v3.23 nodejs 10.14.0-r0 —
Alpine v3.23 nodejs-current 11.3.0-r0 —
Alpine v3.22 nodejs 10.14.0-r0 —
Alpine v3.22 nodejs-current 11.3.0-r0 —
Alpine v3.21 nodejs 10.14.0-r0 —
Alpine v3.21 nodejs-current 11.3.0-r0 —
Alpine v3.20 nodejs 10.14.0-r0 —
Alpine v3.20 nodejs-current 11.3.0-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 10.14.0-r0 —
Alpine v3.19 nodejs-current 11.3.0-r0 —
Alpine v3.18 nodejs 10.14.0-r0 —
Alpine v3.18 nodejs-current 11.3.0-r0 —
Alpine v3.17 nodejs 10.14.0-r0 —
Alpine v3.17 nodejs-current 11.3.0-r0 —
Alpine v3.16 nodejs 10.14.0-r0 —
Alpine v3.16 nodejs-current 11.3.0-r0 —
Alpine v3.15 nodejs 10.14.0-r0 —
Alpine v3.15 nodejs-current 11.3.0-r0 —
Alpine v3.14 nodejs 10.14.0-r0 —
Alpine v3.14 nodejs-current 11.3.0-r0 —
Alpine v3.13 nodejs 10.14.0-r0 —
Alpine v3.13 nodejs-current 11.3.0-r0 —
Alpine v3.12 nodejs 10.14.0-r0 —
Alpine v3.12 nodejs-current 11.3.0-r0 —
Alpine v3.11 nodejs 10.14.0-r0 —
Alpine v3.11 nodejs-current 11.3.0-r0 —
Alpine v3.10 nodejs 10.14.0-r0 —
Alpine v3.10 nodejs-current 11.3.0-r0 —
Alpine v3.9 nodejs 10.14.0-r0 —
Alpine v3.9 nodejs-current 11.3.0-r0 —
Alpine v3.8 nodejs 8.14.0-r0 —

Advisories 9

References