CVE-2018-12123

    Dashboard / Vulnerabilities / CVE-2018-12123

    CVE-2018-12123

    Published: 28 Nov 2018Last Modified: 8 Jul 2026

    Summary:

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- ce3e3c5fe15479475c068482c48eb9cbf1ac9df5

    Affected versions

    v6.14.4
    v6.14.3
    v6.14.2
    v6.14.1
    v6.14.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High