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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T21:50:58.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-v2v4-37r5-5v8g
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- beaugunderson ip-address: < 10.1.1; before 10.1.1
- ip-address: no versions given
- nodejs24: no versions given (not affected: from 1:24.18.0-1.el10_2 before *)
- nodejs22: no versions given (not affected: from 1:22.23.1-2.el10_2 before *; from 1:22.23.1-2.el10_0 before *)
- rh-podman-desktop: no versions given (not affected: from 0:1.1.2-1.el10_2 before *)
- nodejs:24: no versions given (not affected: from 8100020260630152626.6d880403 before *; from 9080020260626074955.rhel9 before *)
- nodejs:22: no versions given (not affected: from 8100020260703140402.6d880403 before *; from 9080020260626075442.rhel9 before *; from 9060020260804140259.rhel9 before *)
- ansible-automation-platform-tech-preview/mcp-server-rhel9: no versions given (not affected: from 1782721130 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1783448184 before *; from 1782761244 before *)
- rhelai3/disk-image-cuda-rhel9: no versions given (not affected: from 1788290314 before *)
- rhelai3/bootc-aws-cuda-rhel9: no versions given (not affected: from 1788273908 before *)
- rhelai3/bootc-azure-cuda-rhel9: no versions given (not affected: from 1788273909 before *)
- rhelai3/bootc-azure-rocm-rhel9: no versions given (not affected: from 1788273908 before *)
- rhelai3/bootc-cuda-rhel9: no versions given (not affected: from 1788260684 before *)
- rhelai3/bootc-gcp-cuda-rhel9: no versions given (not affected: from 1788273977 before *)
- rhelai3/bootc-rocm-rhel9: no versions given (not affected: from 1788260620 before *)
- rhmtc/openshift-migration-ui-rhel8: no versions given (not affected: from 1783690532 before *)
- rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9: no versions given (not affected: from 1787801527 before *; from 1787121387 before *)
- openshift4/ose-agent-installer-ui-rhel9: no versions given (not affected: from 1784724699 before *; from 1784713741 before *; from 1784721581 before *)
- odf4/cephcsi-rhel9: no versions given (not affected: from 1787057250 before *)
- odf4/cephcsi-rhel9-operator: no versions given (not affected: from 1787057964 before *)
- odf4/devicefinder-rhel9: no versions given (not affected: from 1787057603 before *)
- odf4/mcg-core-rhel9: no versions given (not affected: from 1787058450 before *)
- odf4/mcg-rhel9-operator: no versions given (not affected: from 1787057989 before *)
- odf4/ocs-client-console-rhel9: no versions given (not affected: from 1787059853 before *)
- odf4/ocs-client-rhel9-operator: no versions given (not affected: from 1787057849 before *)
- odf4/ocs-metrics-exporter-rhel9: no versions given (not affected: from 1787060257 before *)
- odf4/ocs-rhel9-operator: no versions given (not affected: from 1787058278 before *)
- odf4/odf-blackbox-exporter-rhel9: no versions given (not affected: from 1787058658 before *)
- odf4/odf-cli-rhel9: no versions given (not affected: from 1787058706 before *)
- odf4/odf-cloudnative-pg-rhel9-operator: no versions given (not affected: from 1787058403 before *)
- odf4/odf-console-rhel9: no versions given (not affected: from 1787059072 before *)
- odf4/odf-cosi-sidecar-rhel9: no versions given (not affected: from 1787058807 before *)
- odf4/odf-csi-addons-rhel9-operator: no versions given (not affected: from 1787058588 before *)
- odf4/odf-csi-addons-sidecar-rhel9: no versions given (not affected: from 1787058970 before *)
- odf4/odf-drbd-rhel9: no versions given (not affected: from 1787059538 before *)
- odf4/odf-external-snapshotter-rhel9-operator: no versions given (not affected: from 1787059616 before *)
- odf4/odf-external-snapshotter-sidecar-rhel9: no versions given (not affected: from 1787061098 before *)
- odf4/odf-lightspeed-rag-content-rhel9: no versions given (not affected: from 1787059085 before *)
- odf4/odf-multicluster-console-rhel9: no versions given (not affected: from 1787059621 before *)
- odf4/odf-multicluster-rhel9-operator: no versions given (not affected: from 1787059386 before *)
- odf4/odf-must-gather-rhel9: no versions given (not affected: from 1787060080 before *)
- odf4/odf-rhel9-operator: no versions given (not affected: from 1787060105 before *)
- odf4/odr-rhel9-operator: no versions given (not affected: from 1787059493 before *)
- odf4/odr-volsync-plugin-mover-rhel9: no versions given (not affected: from 1787060201 before *)
- odf4/odr-volsync-plugin-rhel9-operator: no versions given (not affected: from 1787060274 before *)
- odf4/rook-ceph-rhel9-operator: no versions given (not affected: from 1787061554 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1782498475 before *)
- devspaces/dashboard-rhel9: no versions given (not affected: from 1782498792 before *)
- openshift-service-mesh/kiali-ossmc-rhel8: no versions given (not affected: from 1781937133 before *)
- openshift-service-mesh/kiali-rhel8: no versions given (not affected: from 1782287580 before *)
- openshift-service-mesh/kiali-ossmc-rhel9: no versions given (not affected: from 1782201894 before *; from 1782201696 before *; from 1782201851 before *; from 1782231869 before *)
- openshift-service-mesh/kiali-rhel9: no versions given (not affected: from 1782201833 before *; from 1782201537 before *; from 1782201812 before *; from 1782201466 before *)
- satellite/iop-remediations-rhel9: no versions given (not affected: from 1786008041 before *)
- openshift-sandboxed-containers/osc-pccs: no versions given
- cryostat/cryostat-openshift-console-plugin-rhel9: no versions given
- cryostat-openshift-console-plugin-npm: no versions given
- exploit-intelligence-tech-preview/vulnerability-analysis-rhel9: no versions given
- multicluster-engine/console-mce-rhel9: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel8: no versions given
- and 10 more: see the JSON

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8g> (exploit, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-42338> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2476810> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42338.json>
- <https://access.redhat.com/errata/RHSA-2026:39246> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35842> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35841> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41947> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:39868> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:52399> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35892> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:35891> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57590> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66545> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66488> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34374> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36754> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33574> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62336> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62335> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41928> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65126> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60520> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44263> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44267> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44237> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36820> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33155> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33160> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33163> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33173> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33183> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56928> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:51200> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42338> (advisory)
- <https://github.com/beaugunderson/ip-address> (package)

## Sources

- CVE List: [CVE-2026-42338](https://www.cve.org/CVERecord?id=CVE-2026-42338), CVE Terms of Use, modified 2026-09-11
- GitHub Advisory Database: [GHSA-v2v4-37r5-5v8g](https://github.com/advisories/GHSA-v2v4-37r5-5v8g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42338](https://nvd.nist.gov/vuln/detail/CVE-2026-42338), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42338 · Whole record: https://cve.day/CVE-2026-42338.json · Rebuilt by cve.day 2026-11-25T22:59:21.480Z
