XSS via ip-address JS lib <10.1.1: Address6.group & link not escaped
CVE-2026-42338 Published on May 12, 2026
ip-address: XSS in Address6 HTML-emitting methods
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 Analysis
CVE-2026-42338 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-42338. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2026-42338 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2026-42338
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
beaugunderson ip-address:- Version < 10.1.1 is affected.
- Version 1:24.18.0-1.el10_2 and below * is unaffected.
- Version 1:22.23.1-2.el10_2 and below * is unaffected.
- Version 1:22.23.1-2.el10_0 and below * is unaffected.
- Version 8100020260630152626.6d880403 and below * is unaffected.
- Version 8100020260703140402.6d880403 and below * is unaffected.
- Version 9080020260626074955.rhel9 and below * is unaffected.
- Version 9080020260626075442.rhel9 and below * is unaffected.
- Version 1782721130 and below * is unaffected.
- Version 1783448184 and below * is unaffected.
- Version 1782761244 and below * is unaffected.
- Version 1783690532 and below * is unaffected.
- Version 1784724699 and below * is unaffected.
- Version 1784713741 and below * is unaffected.
- Version 1784721581 and below * is unaffected.
- Version 1782498475 and below * is unaffected.
- Version 1782498792 and below * is unaffected.
- Version 1781937133 and below * is unaffected.
- Version 1782287580 and below * is unaffected.
- Version 1782201894 and below * is unaffected.
- Version 1782201833 and below * is unaffected.
- Version 1782201696 and below * is unaffected.
- Version 1782201537 and below * is unaffected.
- Version 1782201851 and below * is unaffected.
- Version 1782201812 and below * is unaffected.
- Version 1782231869 and below * is unaffected.
- Version 1782201466 and below * is unaffected.
- Version 1786008041 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.