VULNERABILITY INTELLIGENCE

CVE-2018-12123

CVSS score4.3 MEDIUM
EPSS probability4.03%
CISA KEVNot currently listed
Published2018-11-28
Last modified2026-10-08
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

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.

Weakness classification

  • CWE-20: Improper Input Validation
  • CWE-115: Misinterpretation of Input

Primary references