Home

Description

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.

PUBLISHED Reserved 2026-04-26 | Published 2026-05-12 | Updated 2026-05-13 | Assigner GitHub_M




MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 10.1.1
affected

References

github.com/...ddress/security/advisories/GHSA-v2v4-37r5-5v8g exploit

github.com/...ddress/security/advisories/GHSA-v2v4-37r5-5v8g

cve.org (CVE-2026-42338)

nvd.nist.gov (CVE-2026-42338)

Download JSON