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.
References
| Link | Resource |
|---|---|
| https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8g | Exploit Mitigation Vendor Advisory |
| https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8g | Exploit Mitigation Vendor Advisory |
Configurations
History
19 May 2026, 20:04
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Beaugunderson
Beaugunderson ip-address |
|
| References | () https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8g - Exploit, Mitigation, Vendor Advisory | |
| CPE | cpe:2.3:a:beaugunderson:ip-address:*:*:*:*:*:node.js:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
13 May 2026, 16:32
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8g - |
12 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-12 20:16
Updated : 2026-05-19 20:04
NVD link : CVE-2026-42338
Mitre link : CVE-2026-42338
CVE.ORG link : CVE-2026-42338
JSON object : View
Products Affected
beaugunderson
- ip-address
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
