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
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.
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
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.
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 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.