CVE-2018-12123

MEDIUMCVSS 4.3/10EPSS 4.05%

Last modified

CVE-2018-12123 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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). EPSS estimates a 4.05% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
4.3/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

EPSS Probability
4.05%

89.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-12123?
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.
How severe is CVE-2018-12123?
CVE-2018-12123 has a CVSS score of 4.3/10 (MEDIUM severity). The EPSS model estimates a 4.05% probability of exploitation in the next 30 days.
How do I fix CVE-2018-12123?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-12123?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST