CVEfocus › CVE database › CVE-2026-42338

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

CVSS 5.3 MediumEPSS 0.5% (higher than 37% of CVEs)Published 2026-05-12Updated 2026-09-11Assigner: GitHub_M

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.

CWE-79

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

70Fixed
4Fix pending
3Under investigation
1Will not fix
33Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-ip-addressFix pendingUBUNTU-CVE-2026-42338
Ubuntu 26.04node-ip-addressUnder investigationUBUNTU-CVE-2026-42338
Ubuntu 25.10node-ip-addressWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-42338
Ubuntu 24.04node-ip-addressUnder investigationUBUNTU-CVE-2026-42338
Ubuntu 22.04node-ip-addressUnder investigationUBUNTU-CVE-2026-42338
Ubuntu 20.04node-ip-addressFix pendingUBUNTU-CVE-2026-42338
Debian 14node-ip-addressFixed10.2.0-2DEBIAN-CVE-2026-42338
Debian 13node-ip-addressFix pendingDEBIAN-CVE-2026-42338
Debian 12node-ip-addressFix pendingDEBIAN-CVE-2026-42338
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10nodejsFixed1:22.23.1-2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs-develFixed1:22.23.1-2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs-docsFixed1:22.23.1-2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs-full-i18nFixed1:22.23.1-2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs-libsFixed1:22.23.1-2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs-npmFixed1:10.9.8-1.22.23.1.2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs22Fixed1:22.23.1-2.el10_2RHSA-2026:35842
Red Hat Enterprise Linux 10nodejs24Fixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-develFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-docsFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-full-i18nFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-libsFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-npmFixed1:11.16.0-1.24.18.0.1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10rh-podman-desktopFixed0:1.1.2-1.el10_2RHSA-2026:57590
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9nodejsFixed1:22.23.1-1.module+el9.8.0+24457+996af7aaRHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-develFixed1:22.23.1-1.module+el9.8.0+24457+996af7aaRHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-docsFixed1:22.23.1-1.module+el9.8.0+24457+996af7aaRHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35892
Red Hat Enterprise Linux 9nodejs-libsFixed1:22.23.1-1.module+el9.8.0+24457+996af7aaRHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.8.0+24156+bb41d456RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.8.0+24355+35d95b59RHSA-2026:35892
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-6.module+el9.8.0+24355+35d95b59RHSA-2026:35892
Red Hat Enterprise Linux 9npmFixed1:10.9.8-1.22.23.1.1.module+el9.8.0+24457+996af7aaRHSA-2026:35891
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9v8-12.4-develFixed3:12.4.254.21-1.22.23.1.1.module+el9.8.0+24457+996af7aaRHSA-2026:35892
Red Hat Enterprise Linux 9v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 8nodejsFixed1:22.23.1-1.module+el8.10.0+24500+8eb51621RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-develFixed1:22.23.1-1.module+el8.10.0+24500+8eb51621RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-docsFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:41947
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:41947
Red Hat Enterprise Linux 8nodejs-libsFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:41947
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:41947
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+24500+8eb51621RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-6.module+el8.10.0+24500+8eb51621RHSA-2026:39868
Red Hat Enterprise Linux 8npmFixed1:10.9.8-1.22.23.1.1.module+el8.10.0+24500+8eb51621RHSA-2026:39868
Red Hat Enterprise Linux 8v8-12.4-develFixed3:12.4.254.21-1.22.23.1.1.module+el8.10.0+24500+8eb51621RHSA-2026:41947
Red Hat Enterprise Linux 8v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
AlmaLinux 10nodejs-docsFixed1:22.23.1-2.el10_2ALSA-2026:35842
AlmaLinux 10nodejs24-docsFixed1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux 10nodejs24-npmFixed1:11.16.0-1.24.18.0.1.el10_2ALSA-2026:35841
AlmaLinux 9nodejsFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35892
AlmaLinux 9nodejs-develFixed1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35891
AlmaLinux 9nodejs-docsFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35892
AlmaLinux 9nodejs-full-i18nFixed1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35891
AlmaLinux 9nodejs-libsFixed1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35891
AlmaLinux 9nodejs-nodemonFixed3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:35892
AlmaLinux 9nodejs-packagingFixed2021.06-6.module_el9.7.0+227+12323393ALSA-2026:35891
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:35892
AlmaLinux 9npmFixed1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35892
AlmaLinux 9v8-12.4-develFixed3:12.4.254.21-1.22.23.1.1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux 9v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 8nodejsFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:41947
AlmaLinux 8nodejs-develFixed1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:39868
AlmaLinux 8nodejs-docsFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:41947
AlmaLinux 8nodejs-full-i18nFixed1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:39868
AlmaLinux 8nodejs-libsFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:41947
AlmaLinux 8nodejs-nodemonFixed3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:41947
AlmaLinux 8nodejs-packagingFixed2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:41947
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:39868
AlmaLinux 8npmFixed1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:41947
AlmaLinux 8v8-12.4-develFixed3:12.4.254.21-1.22.23.1.1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux 8v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
Rocky Linux 10nodejs22Fixed1:22.23.1-2.el10_2RLSA-2026:35842
Rocky Linux 10nodejs24Fixed1:24.18.0-1.el10_2RLSA-2026:35841
Rocky Linux 9nodejs-nodemonFixed0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:35892
Rocky Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:35892
Rocky Linux 8nodejsFixed1:24.18.0-1.module+el8.10.0+40252+a58646bcRLSA-2026:39868
Rocky Linux 8nodejs-nodemonFixed0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:41947
Rocky Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:41947
npm libraryip-addressFixed10.1.1GHSA-v2v4-37r5-5v8g

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.