CVE-2026-42502
Last modified
CVE-2026-42502 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Net | < 0.55.0 |
References
- https://go.dev/cl/781701Issue Tracking
- https://go.dev/issue/79572Issue Tracking
- https://pkg.go.dev/vuln/GO-2026-5027Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42502?
How severe is CVE-2026-42502?
How do I fix CVE-2026-42502?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- 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-42497Archive::Tar versions before 3.08 for Perl extract hardlinks…7.5
- CVE-2026-42498Exposure of HTTP Authentication Header to unexpected hosts d…7.3
- CVE-2026-42499Pathological inputs could cause DoS through consumePhrase wh…7.5
- CVE-2026-4250A vulnerability was found in Albert Sağlık Hizmetleri ve Tic…2.5
- CVE-2026-42500Decoding a paletted BMP file with an out-of-range palette in…5.3
- CVE-2026-42501A malicious module proxy can exploit a flaw in the go comman…7.5
- CVE-2026-42503gopls by default communicates via pipe. However, -port and -…8.8
- CVE-2026-42504Decoding a maliciously-crafted MIME header containing many i…7.5
- CVE-2026-42505Handshakes which used Encrypted Client Hello could be de-ano…5.3
- CVE-2026-42506Parsing arbitrary HTML which is then rendered using Render c…6.1
- CVE-2026-42507When returning errors, functions in the net/textproto packag…5.3
- CVE-2026-42508Previously, a revoked 'SignatureKey' belonging to a CA was n…9.1
Are you affected by CVE-2026-42502?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
