Vulnerability · Published May 12, 2026 · Assigned by GitHub_M

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

High 8.1

In plain English

A high-severity cross-site scripting in ip-address from beaugunderson. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.5%top 59.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10nodejs1:22.23.1-2.el10_2ALSA-2026:35842
AlmaLinux:8nodejs1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:8nodejs1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:9nodejs1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:9nodejs1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux:10nodejs-devel1:22.23.1-2.el10_2ALSA-2026:35842
AlmaLinux:8nodejs-devel1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:8nodejs-devel1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:9nodejs-devel1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:9nodejs-devel1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux:10nodejs-docs1:22.23.1-2.el10_2ALSA-2026:35842
AlmaLinux:8nodejs-docs1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:8nodejs-docs1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:9nodejs-docs1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux:9nodejs-docs1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:10nodejs-full-i18n1:22.23.1-2.el10_2ALSA-2026:35842
AlmaLinux:8nodejs-full-i18n1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:8nodejs-full-i18n1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:9nodejs-full-i18n1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:9nodejs-full-i18n1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux:10nodejs-libs1:22.23.1-2.el10_2ALSA-2026:35842
AlmaLinux:8nodejs-libs1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:8nodejs-libs1:22.23.1-1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:9nodejs-libs1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux:9nodejs-libs1:22.23.1-1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.10.0+3956+47c9ee9fALSA-2026:41947
AlmaLinux:8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:39868
AlmaLinux:9nodejs-nodemon3.0.1-1.module_el9.7.0+208+fb06c0abALSA-2026:35892
AlmaLinux:9nodejs-nodemon3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux:10nodejs-npm1:10.9.8-1.22.23.1.2.el10_2ALSA-2026:35842
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:41947
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:39868
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+227+12323393ALSA-2026:35892
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:39868
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:41947
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+227+12323393ALSA-2026:35892
AlmaLinux:10nodejs241:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux:10nodejs24-devel1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux:10nodejs24-docs1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux:10nodejs24-full-i18n1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux:10nodejs24-libs1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux:10nodejs24-npm1:11.16.0-1.24.18.0.1.el10_2ALSA-2026:35841
AlmaLinux:8npm1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:8npm1:10.9.8-1.22.23.1.1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:9npm1:10.9.8-1.22.23.1.1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:9npm1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux:8v8-12.4-devel3:12.4.254.21-1.22.23.1.1.module_el8.10.0+4231+1bf2f855ALSA-2026:41947
AlmaLinux:9v8-12.4-devel3:12.4.254.21-1.22.23.1.1.module_el9.8.0+276+8b329b47ALSA-2026:35892
AlmaLinux:8v8-13.6-devel3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux:9v8-13.6-devel3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
Debian:12node-ip-addressno fix listedDEBIAN-CVE-2026-42338
Debian:13node-ip-addressno fix listedDEBIAN-CVE-2026-42338
Debian:14node-ip-address10.2.0-2DEBIAN-CVE-2026-42338
Rocky Linux:8nodejs1:24.18.0-1.module+el8.10.0+40252+a58646bcRLSA-2026:39868
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:39868
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2026:41947
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2026:41947
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40153+4d595597RLSA-2026:35892
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2026:35892
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40165+d075e3f2RLSA-2026:35892
Rocky Linux:9nodejs-nodemon0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:35891
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:39868
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:39868
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:39868
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:41947
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:41947
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:41947
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:35891
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:35891
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:35892
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:35892
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:35892
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:35891
Rocky Linux:10nodejs221:22.23.1-2.el10_2RLSA-2026:35842
Rocky Linux:10nodejs241:24.18.0-1.el10_2RLSA-2026:35841
Ubuntu:22.04:LTSnode-ip-addressno fix listedUBUNTU-CVE-2026-42338
Ubuntu:24.04:LTSnode-ip-addressno fix listedUBUNTU-CVE-2026-42338
Ubuntu:25.10node-ip-addressno fix listedUBUNTU-CVE-2026-42338
Ubuntu:26.04:LTSnode-ip-addressno fix listedUBUNTU-CVE-2026-42338
Ubuntu:26.10node-ip-addressno fix listedUBUNTU-CVE-2026-42338
npmip-address10.1.1GHSA-v2v4-37r5-5v8g

Affected products (as reported)

VendorProductVersions
beaugunderson ip-address < 10.1.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References