ip-address

A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

10.7.7Latest, 28 Nov 2026
596MDownloads, last month
0Advisories on the latest
9Advisories, all versions
MITLicence
635Stars
6.9/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process CVE-2026-111997 Fixed in 10.7.4 22 Oct 2026
Moderate ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process CVE-2026-101911 Fixed in 10.7.1 29 Sep 2026
Moderate ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit a CVE-2026-101912 Fixed in 10.7.1 29 Sep 2026
Moderate ip-address: no classifier recognizes the NAT64 local-use range 64:ff9b:1::/48, allowing SSRF and trust-boundary bypass CVE-2026-101910 Fixed in 10.5.1 28 Sep 2026
Moderate ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts CVE-2026-101913 Fixed in 10.5.1 28 Sep 2026
Moderate ip-address: misclassification of IPv4-mapped/NAT64 IPv6 addresses can bypass SSRF and trust-boundary checks CVE-2026-54272 Fixed in 10.2.1 3 Aug 2026
Moderate ip-address: a CIDR suffix on the parsed address suppresses special-use classification and can bypass SSRF and trust-boundary checks CVE-2026-69198 Fixed in 10.2.2 3 Aug 2026
High ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypass CVE-2026-69192 Fixed in 10.3.1 3 Aug 2026
Moderate ip-address has XSS in Address6 HTML-emitting methods CVE-2026-42338 Fixed in 10.1.1 5 May 2026

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.