Skip to content
Heist/ feed
Back to feed
MediumFix available

nodejs — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
nodejs
Affected versions
Not specified
Fixed versions
10.15.0~dfsg-6
CVEs
CVE-2018-12123
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:08 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-12123

core-osv · Original source

Published 28 Nov 2018, 17:29 UTC

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.

osv:DEBIAN-CVE-2018-12123

nodejs

Fixed versions: 10.15.0~dfsg-6

nodejs

Fixed versions: 10.15.0~dfsg-6

nodejs

Fixed versions: 10.15.0~dfsg-6

Complete source record
{
  "id": "9eb928359caf57ae5c31e24d82f951bcb8f9f15094ba0bbb4347fda9a2156b08",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-12123",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-12123",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2018-12123",
    "products": [
      {
        "name": {
          "value": "nodejs",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.15.0~dfsg-6",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nodejs",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.15.0~dfsg-6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nodejs",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.15.0~dfsg-6",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2018-12123",
      "aliases": [
        "DEBIAN-CVE-2018-12123"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.15.0~dfsg-6"
                }
              ]
            }
          ],
          "package": {
            "name": "nodejs",
            "purl": "pkg:deb/debian/nodejs?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-12123.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.15.0~dfsg-6"
                }
              ]
            }
          ],
          "package": {
            "name": "nodejs",
            "purl": "pkg:deb/debian/nodejs?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-12123.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.15.0~dfsg-6"
                }
              ]
            }
          ],
          "package": {
            "name": "nodejs",
            "purl": "pkg:deb/debian/nodejs?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-12123.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-09T09:47:30.158169581Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-12123"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-12123"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-12123",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111588,
  "published_at": "2018-11-28T17:29:00.417+00:00"
}