What’s Vulnerable › Vulnerabilities

CVE-2018-12123

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

How to fix

Upgrade to a fixed version: Node.js 10.14.0, 11.3.0, 6.15.0, 8.14.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-12123 or the next vulnerability affects your stack