Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 62%

CVE-2026-42338: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in beaugunderson ip-address

0
Medium
Published: 05/12/2026 (05/12/2026, 19:43:16 UTC)
Source: GCVE Database
Vendor/Project: beaugunderson
Product: ip-address

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.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
< 10.1.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 06:26:57 UTC

Technical Analysis

Red Hat Product Security issued advisory RHSA-2026:51200 concerning vulnerabilities including CVE-2026-42338 in the ip-address JavaScript library, which is used by Red Hat Lightspeed in Satellite. The vulnerability allows remote attackers to perform cross-site scripting (XSS) by supplying untrusted input to the Address6 constructor. If an application renders the output of Address6.group(), Address6.link(), or AddressError.parseMessage as HTML without proper escaping, attacker-controlled scripts can execute in the user's browser. Exploitation requires specific application rendering behavior that may not be common in Red Hat products. The advisory also references two additional CVEs (CVE-2026-59873 and CVE-2026-59874) but does not detail them. No patch or official fix is currently available that meets Red Hat's standards. The advisory includes a new container image for remediation purposes but does not address the underlying vulnerabilities directly.

Potential Impact

The vulnerability enables cross-site scripting attacks, potentially allowing attackers to execute arbitrary scripts in the context of a user's browser. This can lead to disclosure of sensitive information such as cookies and session tokens, unauthorized actions performed on behalf of the user, and compromise of user data confidentiality and integrity. However, exploitation depends on how applications render the vulnerable library's output, which may limit the practical impact in Red Hat products. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Currently, there is no official patch or fix available that meets Red Hat's criteria for ease of deployment and applicability. Users are advised to review application code to ensure that any output from the ip-address library, especially from Address6 methods, is properly escaped before rendering as HTML. Red Hat provides a new satellite/iop-remediations-rhel9 container image for remediation purposes, but it does not fix the underlying vulnerabilities. Users should monitor Red Hat advisories for future updates and consider upgrading affected components when fixes become available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:51200
Cve Count
3
Additional Cves
["CVE-2026-59873","CVE-2026-59874"]
Cvss Version
null

Threat ID: 6a7573bbbf8831d539d9418d

Added to database: 08/07/2026, 05:57:15 UTC

Last enriched: 08/07/2026, 06:26:57 UTC

Last updated: 08/07/2026, 17:10:59 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses