5.3Medium

CVE-2026-42338ip-address: XSS in Address6 HTML-emitting methods

beaugunderson ip-address; Red Hat Red Hat AMQ Broker 7.13.6; Red Hat Red Hat AMQ Broker 7.14.1; Red Hat Red Hat Enterprise Linux 10 Published: (6 months ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ansible automation platform 2.6 —
beaugunderson ip-address < 10.1.1
enterprise linux ai 3.3 —
openshift 4.20 —
openshift 4.21 —
openshift 4.22 —
openshift ai 2.25 —
openshift ai 3.4 —
openshift data foundation 4.22 —
openshift devspaces 3.29 —
Red Hat Confidential Compute Attestation all versions
Red Hat Cryostat 4 —
Red Hat Exploit Intelligence all versions
Red Hat Multicluster Engine for Kubernetes all versions
Red Hat OpenShift Pipelines all versions
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 —
Red Hat Red Hat AMQ Broker 7.13.6 —
Red Hat Red Hat AMQ Broker 7.14.1 —
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat build of Apache Camel for Spring Boot 4 —
Red Hat Red Hat build of Apache Camel - HawtIO 4 all versions
Red Hat Red Hat Build of Podman Desktop all versions
Red Hat Red Hat Developer Hub 1.10 all versions
Red Hat Red Hat Developer Hub 1.9 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux AI 3.3 all versions
Red Hat Red Hat Migration Toolkit 1.8 all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI 3.4 all versions
Red Hat Red Hat OpenShift Container Platform 4.20 all versions
Red Hat Red Hat OpenShift Container Platform 4.21 all versions
Red Hat Red Hat OpenShift Container Platform 4.22 all versions
Red Hat Red Hat Openshift Data Foundation 4.22 all versions
Red Hat Red Hat OpenShift Dev Spaces 3.29 all versions
Red Hat Red Hat OpenShift Service Mesh 2.6 all versions
Red Hat Red Hat OpenShift Service Mesh 3.0 all versions
Red Hat Red Hat OpenShift Service Mesh 3.1 all versions
Red Hat Red Hat OpenShift Service Mesh 3.2 all versions
Red Hat Red Hat OpenShift Service Mesh 3.3 all versions
Red Hat Red Hat Satellite 6.19 all versions
rhdh 1.10 —
rhdh 1.9 —
rhmt 1.8 —
satellite 6.19 —
service mesh 2.6 —
service mesh 3.0 —
service mesh 3.1 —
service mesh 3.2 —
service mesh 3.3 —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:beaugunderson:ip-address:*:*:*:*:*:node.js:*:* < 10.1.1