CVE-2026-42338
Last modified
CVE-2026-42338 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Beaugunderson | Ip-Address | < 10.1.1 |
References
- https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8gExploit, Mitigation, Vendor Advisory
- https://github.com/beaugunderson/ip-address/security/advisories/GHSA-v2v4-37r5-5v8gExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-42338?
How severe is CVE-2026-42338?
How do I fix CVE-2026-42338?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42331FOSSBilling is a free, open-source billing and client manage…7.7
- CVE-2026-42333Quarkus OpenAPI Generator is Quarkus' extensions for generat…6.3
- CVE-2026-42334Mongoose is a MongoDB object modeling tool designed to work …7.5
- CVE-2026-42335MaxKB is an open-source AI assistant for enterprise. Prior t…6.3
- CVE-2026-42336MaxKB is an open-source AI assistant for enterprise. MaxKB 2…5.1
- CVE-2026-42337MaxKB is an open-source AI assistant for enterprise. MaxKB 2…5.3
- CVE-2026-42339New API is a large language mode (LLM) gateway and artificia…7.1
- CVE-2026-4234A security flaw has been discovered in SSCMS 7.4.0. This vul…6.3
- CVE-2026-42341FOSSBilling is a free, open-source billing and client manage…9.2
- CVE-2026-42342React Router is a router for React. In versions 7.0.0 throug…7.5
- CVE-2026-42343FastGPT is an AI Agent building platform. In versions 4.14.1…6.3
- CVE-2026-42344FastGPT is an AI Agent building platform. In versions 4.14.1…6.3
Are you affected by CVE-2026-42338?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
