# CVE-2018-12123: Node.js 6 and 1 other: Misinterpretation of Input

CVE-2018-12123 is fixed in 2 products on 2 platforms, first by Node.js 6 6.17.0, released February 28, 2019. 1 other affected product has no fix yet. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-12123
- Priority: Routine
- CVSS: 4.3 (Low)
- EPSS: 0.0403
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 28, 2018
- Weakness: CWE-115: Misinterpretation of Input
- Vendor advisory: https://nvd.nist.gov/vuln/detail/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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 6 | 6.17.0 | [Node.js 6 6.17.0](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.6-6.17.0.md) | Feb 28, 2019 |
| Linux | nodejs Ubuntu 18.04.6 LTS (bionic) | 8.10.0~dfsg-2ubuntu0.4+esm1 | [nodejs 8.10.0~dfsg-2ubuntu0.4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-nodejs-8.10.0-dfsg-2ubuntu0.4-esm1.md) | Mar 28, 2019 |

## No fix yet

| Platform | Product | Status |
|---|---|---|
| Windows apps | Node.js 8 | no-fix |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
