CVE-2026-42338ip-address: XSS in Address6 HTML-emitting methods
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-ip-address | Fix pending | UBUNTU-CVE-2026-42338 | |
| Ubuntu 26.04 | node-ip-address | Under investigation | UBUNTU-CVE-2026-42338 | |
| Ubuntu 25.10 | node-ip-address | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-42338 | |
| Ubuntu 24.04 | node-ip-address | Under investigation | UBUNTU-CVE-2026-42338 | |
| Ubuntu 22.04 | node-ip-address | Under investigation | UBUNTU-CVE-2026-42338 | |
| Ubuntu 20.04 | node-ip-address | Fix pending | UBUNTU-CVE-2026-42338 | |
| Debian 14 | node-ip-address | Fixed | 10.2.0-2 | DEBIAN-CVE-2026-42338 |
| Debian 13 | node-ip-address | Fix pending | DEBIAN-CVE-2026-42338 | |
| Debian 12 | node-ip-address | Fix pending | DEBIAN-CVE-2026-42338 | |
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Fixed | 1:22.23.1-2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs-devel | Fixed | 1:22.23.1-2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs-docs | Fixed | 1:22.23.1-2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fixed | 1:22.23.1-2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs-libs | Fixed | 1:22.23.1-2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs-npm | Fixed | 1:10.9.8-1.22.23.1.2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs22 | Fixed | 1:22.23.1-2.el10_2 | RHSA-2026:35842 |
| Red Hat Enterprise Linux 10 | nodejs24 | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fixed | 1:11.16.0-1.24.18.0.1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fixed | 0:1.1.2-1.el10_2 | RHSA-2026:57590 |
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:22.23.1-1.module+el9.8.0+24457+996af7aa | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:22.23.1-1.module+el9.8.0+24457+996af7aa | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:22.23.1-1.module+el9.8.0+24457+996af7aa | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35892 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:22.23.1-1.module+el9.8.0+24457+996af7aa | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.8.0+24156+bb41d456 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.8.0+24355+35d95b59 | RHSA-2026:35892 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el9.8.0+24355+35d95b59 | RHSA-2026:35892 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:10.9.8-1.22.23.1.1.module+el9.8.0+24457+996af7aa | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.1.1.module+el9.8.0+24457+996af7aa | RHSA-2026:35892 |
| Red Hat Enterprise Linux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:22.23.1-1.module+el8.10.0+24500+8eb51621 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:22.23.1-1.module+el8.10.0+24500+8eb51621 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:41947 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:41947 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:41947 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.0.3-1.module+el8.10.0+24190+49a46c75 | RHSA-2026:41947 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+24500+8eb51621 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el8.10.0+24500+8eb51621 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:10.9.8-1.22.23.1.1.module+el8.10.0+24500+8eb51621 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.1.1.module+el8.10.0+24500+8eb51621 | RHSA-2026:41947 |
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| AlmaLinux 10 | nodejs-docs | Fixed | 1:22.23.1-2.el10_2 | ALSA-2026:35842 |
| AlmaLinux 10 | nodejs24-docs | Fixed | 1:24.18.0-1.el10_2 | ALSA-2026:35841 |
| AlmaLinux 10 | nodejs24-npm | Fixed | 1:11.16.0-1.24.18.0.1.el10_2 | ALSA-2026:35841 |
| AlmaLinux 9 | nodejs | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35892 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:22.23.1-1.module_el9.8.0+276+8b329b47 | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35892 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:22.23.1-1.module_el9.8.0+276+8b329b47 | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:22.23.1-1.module_el9.8.0+276+8b329b47 | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.3-3.module_el9.7.0+209+ecf6523e | ALSA-2026:35892 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-6.module_el9.7.0+227+12323393 | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el9.7.0+209+ecf6523e | ALSA-2026:35892 |
| AlmaLinux 9 | npm | Fixed | 1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613e | ALSA-2026:35892 |
| AlmaLinux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.1.1.module_el9.8.0+276+8b329b47 | ALSA-2026:35892 |
| AlmaLinux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 8 | nodejs | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:41947 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:22.23.1-1.module_el8.10.0+4231+1bf2f855 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:41947 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:22.23.1-1.module_el8.10.0+4231+1bf2f855 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:41947 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.3-1.module_el8.10.0+4061+f8ceeab9 | ALSA-2026:41947 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-6.module_el8.10.0+4086+70facd4a | ALSA-2026:41947 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:39868 |
| AlmaLinux 8 | npm | Fixed | 1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94 | ALSA-2026:41947 |
| AlmaLinux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.1.1.module_el8.10.0+4231+1bf2f855 | ALSA-2026:41947 |
| AlmaLinux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| Rocky Linux 10 | nodejs22 | Fixed | 1:22.23.1-2.el10_2 | RLSA-2026:35842 |
| Rocky Linux 10 | nodejs24 | Fixed | 1:24.18.0-1.el10_2 | RLSA-2026:35841 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2 | RLSA-2026:35892 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+40153+4d595597 | RLSA-2026:35892 |
| Rocky Linux 8 | nodejs | Fixed | 1:24.18.0-1.module+el8.10.0+40252+a58646bc | RLSA-2026:39868 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.3-1.module+el8.10.0+2084+ab509703 | RLSA-2026:41947 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+40172+38f6fdd1 | RLSA-2026:41947 |
| npm library | ip-address | Fixed | 10.1.1 | GHSA-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.
- beaugunderson ip-address: affected: < 10.1.1
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.