Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-42338
VULNERABILITY

CVE-2026-42338

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
5.3
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
May 12, 2026 20:16
Modified
Oct 26, 2026 18:10
Last observed
Oct 26, 2026 15:00

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:beaugunderson:ip-address:*:*:*:*:*:node.js:*:*

References