Bug 2476810 (CVE-2026-42338) - CVE-2026-42338 ip-address: ip-address: Cross-site scripting via improper HTML escaping of untrusted input
Summary: CVE-2026-42338 ip-address: ip-address: Cross-site scripting via improper HTML...
Keywords:
Status: NEW
Alias: CVE-2026-42338
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2487623 2487628 2487629 2487622 2487624 2487625 2487626
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-12 21:02 UTC by OSIDB Bzimport
Modified: 2026-08-04 17:35 UTC (History)
91 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:35841 0 None None None 2026-07-06 04:36:49 UTC
Red Hat Product Errata RHSA-2026:35842 0 None None None 2026-07-06 05:16:23 UTC
Red Hat Product Errata RHSA-2026:35891 0 None None None 2026-07-06 14:23:35 UTC
Red Hat Product Errata RHSA-2026:35892 0 None None None 2026-07-06 14:45:01 UTC
Red Hat Product Errata RHSA-2026:39246 0 None None None 2026-07-14 12:31:08 UTC
Red Hat Product Errata RHSA-2026:39868 0 None None None 2026-07-15 11:23:16 UTC
Red Hat Product Errata RHSA-2026:41947 0 None None None 2026-07-20 13:06:52 UTC

Description OSIDB Bzimport 2026-05-12 21:02:40 UTC
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.

Comment 5 errata-xmlrpc 2026-07-06 04:36:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:35841 https://access.redhat.com/errata/RHSA-2026:35841

Comment 6 errata-xmlrpc 2026-07-06 05:16:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:35842 https://access.redhat.com/errata/RHSA-2026:35842

Comment 7 errata-xmlrpc 2026-07-06 14:23:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:35891 https://access.redhat.com/errata/RHSA-2026:35891

Comment 8 errata-xmlrpc 2026-07-06 14:44:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:35892 https://access.redhat.com/errata/RHSA-2026:35892

Comment 9 errata-xmlrpc 2026-07-14 12:31:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:39246 https://access.redhat.com/errata/RHSA-2026:39246

Comment 10 errata-xmlrpc 2026-07-15 11:23:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:39868 https://access.redhat.com/errata/RHSA-2026:39868

Comment 11 errata-xmlrpc 2026-07-20 13:06:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:41947 https://access.redhat.com/errata/RHSA-2026:41947


Note You need to log in before you can comment on or make changes to this bug.