Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-42338

Type: advisorySource: OSV1 source record

ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Prior to 10.1.1, Address6.group() and Address6.link() do not HTML-escape attacker-controlled content before embedding it in the HTML strings they return, and AddressError.parseMessage (emitted by the Address6 constructor for invalid input) can contain unescaped attacker-controlled content in one branch. An application that (1) passes untrusted input to Address6 and (2) renders the output of these methods, or the thrown error's parseMessage, as HTML (e.g. via innerHTML) is vulnerable to cross-site scripting. This vulnerability is fixed in 10.1.1.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-42338

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-42338

node-ip-address

Source reference: /affected/0/package/name

Affected versions
10.2.0-1

Source reference: /affected/0/versions

10.2.0-2

Source reference: /affected/0/versions

10.3.1-1

Source reference: /affected/0/versions

10.4.0-1

Source reference: /affected/0/versions

10.7.2-1

Source reference: /affected/0/versions

8.1.0-2

Source reference: /affected/0/versions

8.1.0-3

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

node-ip-address

Source reference: /affected/1/package/name

Affected versions
10.2.0-1

Source reference: /affected/1/versions

10.2.0-2

Source reference: /affected/1/versions

10.3.1-1

Source reference: /affected/1/versions

10.4.0-1

Source reference: /affected/1/versions

10.7.2-1

Source reference: /affected/1/versions

8.1.0-2

Source reference: /affected/1/versions

8.1.0-3

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

node-ip-address

Source reference: /affected/2/package/name

Affected versions
10.2.0-1

Source reference: /affected/2/versions

8.1.0-2

Source reference: /affected/2/versions

8.1.0-3

Source reference: /affected/2/versions

Fixed versions
10.2.0-2

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "node-ip-address",
      "purl": "pkg:deb/debian/node-ip-address?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "10.2.0-1",
      "10.2.0-2",
      "10.3.1-1",
      "10.4.0-1",
      "10.7.2-1",
      "8.1.0-2",
      "8.1.0-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42338.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "node-ip-address",
      "purl": "pkg:deb/debian/node-ip-address?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "10.2.0-1",
      "10.2.0-2",
      "10.3.1-1",
      "10.4.0-1",
      "10.7.2-1",
      "8.1.0-2",
      "8.1.0-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42338.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "10.2.0-2"
          }
        ]
      }
    ],
    "package": {
      "name": "node-ip-address",
      "purl": "pkg:deb/debian/node-ip-address?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "10.2.0-1",
      "8.1.0-2",
      "8.1.0-3"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42338.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56950 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement