Skip to main content
EPSS 0.5%top 60%

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< 10.1.1Red HatRed Hat SatelliteRed Hat Satellite 6.19amd64registry.redhat.io/satellite/iop-remediations-rhel9@sha256:6d3ace96df28bfd4de714fa7345cfac8da2431a56eb18f99c4a9b7388902c5e1_amd64

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/16/2026, 15:52:30 UTC

Technical Analysis

The Red Hat security advisory RHSA-2026:51200 reports a cross-site scripting (XSS) vulnerability (CVE-2026-42338) in the ip-address JavaScript library used by Red Hat Satellite Lightspeed. The vulnerability arises when untrusted input is passed to the Address6 constructor and output from methods like Address6.group(), Address6.link(), or AddressError.parseMessage is rendered as HTML without proper escaping, enabling execution of attacker-controlled scripts in users' browsers. This can lead to disclosure of sensitive information such as cookies and session data. The advisory also references two additional CVEs (CVE-2026-59873 and CVE-2026-59874) related to the same context. The affected versions include Red Hat Satellite versions prior to 10.1.1. No official patch or fix meeting Red Hat's criteria is currently available, and mitigation options are limited. The vulnerability requires specific application-level rendering conditions to be exploitable, which may not be common in Red Hat products. The advisory provides updated container images for remediation and links to documentation for installation and configuration.

Potential Impact

The vulnerability allows remote attackers to perform cross-site scripting (XSS) attacks by injecting malicious scripts through untrusted input processed by the Address6 constructor. Successful exploitation can lead to unauthorized execution of scripts in users' browsers, potentially resulting in disclosure of sensitive information such as session cookies, user data, and the ability to perform actions on behalf of the user. The impact is rated as high due to the confidentiality and integrity risks, although availability is not affected. Exploitation depends on specific application rendering practices that may not be widespread in Red Hat products. There are no known exploits 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 use, applicability, or stability. Users are advised to follow Red Hat Satellite documentation for installing and configuring Red Hat Lightspeed in Satellite, including deploying the updated satellite/iop-remediations-rhel9 container image available in the Red Hat container registry. Mitigation depends on ensuring that applications do not render unescaped output from the Address6 constructor methods as HTML. Monitoring Red Hat advisories for future updates or patches is recommended.

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"]
State
PUBLISHED

Threat ID: 6a7573bbbf8831d539d9418d

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

Last enriched: 08/16/2026, 15:52:30 UTC

Last updated: 09/21/2026, 22:01:34 UTC

Views: 40

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