XSS in Beaugunderson Ip-Address
CVE-2026-42338
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.005 · 41.3th percentile
- Published
- 2026-05-12
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 41.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Beaugunderson Ip-Address — versions < 10.1.1
Weakness classification (CWE)
References
- https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8g (Exploit, Mitigation, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:33155
- access.redhat.com/errata/RHSA-2026:33160
- access.redhat.com/errata/RHSA-2026:33163
- access.redhat.com/errata/RHSA-2026:33173
- access.redhat.com/errata/RHSA-2026:33183
- access.redhat.com/security/cve/CVE-2026-42338
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42338.json
- access.redhat.com/errata/RHSA-2026:33574