Live threats

All CVEs / Nodejs

CVE-2018-12123Nodejs Node.js

Medium 4.3 No auth needed

Priority
41
CVSS 3.1
4.3
EPSS
4.0%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Nov 28, 2018
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-115, CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 6.0.0 < 6.15.0
nodejsnode.js≥ 8.0.0 < 8.14.0
nodejsnode.js≥ 10.0.0 < 10.14.0
nodejsnode.js≥ 11.0.0 < 11.3.0

Official sources

References

Links published by the sources. Open them with care.