CVE-2026-42338: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in beaugunderson ip-address
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.
AI Analysis
Technical Summary
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.
CVE-2026-42338: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in beaugunderson 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
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.