CVE-2018-12123

nodejs: Hostname spoofing in URL parser for javascript protocol

Published Nov 28, 2018 CVSS 3.1 · 4.3 Medium EPSS 4.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-4101 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.
Ubuntu USN Ubuntu USN USN-4796-1 Node.js vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
nodejs
Published
Updated
Oct 8, 2026, 9:14 PM
Reserved
Jun 11, 2018, 12:00 AM
Status
Modified
Published
Nov 28, 2018, 5:29 PM
Modified
Oct 8, 2026, 10:16 PM
Severity
Low
Public date
Nov 27, 2018, 12:00 AM