CVE-2026-42338
Public on
Last Modified:
Description
A flaw was found in ip-address, a JavaScript library for parsing and manipulating IPv4 and IPv6 addresses. This vulnerability allows a remote attacker to perform cross-site scripting (XSS) by providing untrusted input to the Address6 constructor. When an application renders the output of Address6.group(), Address6.link(), or the AddressError.parseMessage as HTML without proper escaping, the attacker-controlled content can be executed in the user's browser.
Statement
This vulnerability in the ip-address JavaScript library is rated as Important. It allows for cross-site scripting (XSS) when an application processes untrusted input through the Address6 constructor and subsequently renders the unescaped output of methods like Address6.group(), Address6.link(), or AddressError.parseMessage directly as HTML. While the library itself is affected, exploitation is contingent on specific application-level rendering practices that may not be common in Red Hat products.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Additional information
- This content is not included.Bugzilla 2476810: ip-address: ip-address: Cross-site scripting via improper HTML escaping of untrusted input
- Content from cwe.mitre.org is not included.CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Packages and Issued Red Hat Security Errata
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-pccs | Affected | |
| Cryostat 4 | cryostat-openshift-console-plugin-npm | Not affected | |
| Cryostat 4 | cryostat/cryostat-openshift-console-plugin-rhel9 | Not affected | |
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel9 | Will not fix | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Affected | |
| Red Hat AMQ Broker 7 | ip-address | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2.6 | ansible-automation-platform-tech-preview/mcp-server-rhel9 | Fixed | RHSA-2026:34374 |
| Red Hat Build of Podman Desktop | rh-podman-desktop.git | Affected | |
| Red Hat Build of Podman Desktop - Tech Preview | rhdesktop/rh-podman-desktop-ext-sandbox-rhel10 | Will not fix | |
| Red Hat Developer Hub 1.10 | rhdh/rhdh-hub-rhel9 | Fixed | RHSA-2026:36754 |
| Red Hat Developer Hub 1.9 | rhdh/rhdh-hub-rhel9 | Fixed | RHSA-2026:33574 |
| Red Hat Enterprise Linux 10 | nodejs24 | Fixed | This content is not included.RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs22 | Fixed | This content is not included.RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | rust | Not affected | |
| Red Hat Enterprise Linux 10.0 Extended Update Support | nodejs22 | Fixed | RHSA-2026:39246 |
| Red Hat Enterprise Linux 8 | nodejs:24 | Fixed | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs:22 | Fixed | RHSA-2026:41947 |
| Red Hat Enterprise Linux 9 | nodejs:24 | Fixed | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs:22 | Fixed | RHSA-2026:35892 |
| Red Hat Enterprise Linux 9 | rust | Not affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rust | Affected | |
| Red Hat Hardened Images | rust | Affected | |
| Red Hat Migration Toolkit 1.8 | rhmtc/openshift-migration-ui-rhel8 | Fixed | RHSA-2026:41928 |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-agent-installer-ui-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console-rhel9 | Affected | |
| Red Hat OpenShift Dev Spaces | devspaces/openvsx-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces 3.29 | devspaces/code-rhel9 | Fixed | RHSA-2026:36820 |
| Red Hat OpenShift Dev Spaces 3.29 | devspaces/dashboard-rhel9 | Fixed | RHSA-2026:36820 |
| Red Hat OpenShift Service Mesh 2.6 | openshift-service-mesh/kiali-ossmc-rhel8 | Fixed | RHSA-2026:33155 |
| Red Hat OpenShift Service Mesh 2.6 | openshift-service-mesh/kiali-rhel8 | Fixed | RHSA-2026:33155 |
| Red Hat OpenShift Service Mesh 3.0 | openshift-service-mesh/kiali-ossmc-rhel9 | Fixed | RHSA-2026:33160 |
| Red Hat OpenShift Service Mesh 3.0 | openshift-service-mesh/kiali-rhel9 | Fixed | RHSA-2026:33160 |
| Red Hat OpenShift Service Mesh 3.1 | openshift-service-mesh/kiali-ossmc-rhel9 | Fixed | RHSA-2026:33163 |
| Red Hat OpenShift Service Mesh 3.1 | openshift-service-mesh/kiali-rhel9 | Fixed | RHSA-2026:33163 |
| Red Hat OpenShift Service Mesh 3.2 | openshift-service-mesh/kiali-ossmc-rhel9 | Fixed | RHSA-2026:33173 |
| Red Hat OpenShift Service Mesh 3.2 | openshift-service-mesh/kiali-rhel9 | Fixed | RHSA-2026:33173 |
| Red Hat OpenShift Service Mesh 3.3 | openshift-service-mesh/kiali-ossmc-rhel9 | Fixed | RHSA-2026:33183 |
| Red Hat OpenShift Service Mesh 3.3 | openshift-service-mesh/kiali-rhel9 | Fixed | RHSA-2026:33183 |
| Red Hat Satellite 6 | satellite/iop-remediations-rhel9 | Affected | |
| Red Hat build of Apache Camel - HawtIO 4 | ip-address | Will not fix | |
| Red Hat build of Apache Camel for Spring Boot 4 | ip-address | Not affected | |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Affected |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| CVSS v3 Base Score | 8.1 | 6.1 | 8.1 |
| Attack Vector | Network | Network | Network |
| Attack Complexity | Low | Low | Low |
| Privileges Required | None | None | None |
| User Interaction | Required | Required | Required |
| Scope | Unchanged | Changed | Unchanged |
| Confidentiality Impact | High | Low | High |
| Integrity Impact | High | Low | High |
| Availability Impact | None | None | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cve.org CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Red Hat CVSS v3 Score Explanation
Because sensitive data can be extracted from the vulnerable application the scope should remain unchanged as it doesn't allow the attacker to impact another environment. The confidentiality and integrity should be set to high due to the actions the attacker can take to retrieve user data. For example, the attacker can execute controlled content in the user's browser leaking sensitive data.
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.