LiveActive security incident?Get immediate response
CVE Record

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...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Older Node.js releases can misread a URL's hostname when the URL uses a mixed-case javascript protocol. If an application trusts that hostname for security decisions, it may allow something it intended to block. The risk depends heavily on application logic, not just the installed Node version.

Executive priority

Treat this as a targeted legacy exposure issue. Prioritize systems that still run old Node.js versions and process user-supplied URLs for access control, redirects, or filtering. It is not documented here as actively exploited, but it can undermine security controls in the wrong code path.

Technical view

CVE-2018-12123 affects Node.js before 6.15.0, 8.14.0, 10.14.0, and 11.3.0. The legacy URL parser url.parse() can return a spoofed hostname for mixed-case javascript: scheme URLs. Other protocols are reported as unaffected. Impact exists where hostname parsing drives allowlists, redirects, content filtering, or similar controls.

Likely exposure

Exposure is most likely in legacy Node.js services or downstream products still carrying vulnerable Node versions, especially code paths that use url.parse() hostname results for security decisions. Modern or patched runtimes are less likely exposed.

Exploitation context

The provided sources do not show CISA KEV listing or confirmed active exploitation. The issue is application-context dependent: attackers would need an affected Node.js runtime and a URL-handling security decision based on the spoofable hostname result.

Researcher notes

Evidence is clear on affected Node.js version ranges and parser behavior, but incomplete on CVSS, real-world exploitation, and downstream product scope. Validate by combining runtime inventory with source review for hostname-based security decisions using url.parse().

Mitigation direction

  • Upgrade Node.js to the fixed release line or later.
  • Check Red Hat, Gentoo, NetApp, or other vendor guidance for packaged products.
  • Audit URL security decisions that rely on url.parse().
  • Avoid trusting parsed hostnames from javascript: scheme URLs.
  • Add regression tests around URL allowlists and redirect validation.

Validation and detection

  • Inventory Node.js versions across applications and appliances.
  • Identify uses of url.parse() in URL security logic.
  • Review allowlist, redirect, SSRF-filter, and link-sanitization code paths.
  • Confirm patched runtime versions in build and production environments.
  • Check downstream vendor advisories for affected packaged deployments.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-115: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-12123 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
The Node.js ProjectNode.jsAll versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-115 · source CWE mapping

Misinterpretation of Input

Misinterpretation of Input represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.