CVE-2018-12123

MEDIUM CVSS 3.1: 4.3 EPSS 4.03%
Updated Oct 09, 2026
Node.js
Parameter Value
CVSS 4.3 (MEDIUM)
Affected Versions 10.0.0 — 8.14.0
Fixed In 6.15.0
Type CWE-115, CWE-20 (Improper Input Validation)
Vendor Node.js
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
6.0.0 6.15.0
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
8.0.0 8.14.0
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
10.0.0 10.14.0
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
11.0.0 11.3.0