CVE-2026-42506
Last modified
CVE-2026-42506 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.19% 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/781700Issue Tracking
- https://go.dev/issue/79571Issue Tracking
- https://pkg.go.dev/vuln/GO-2026-5025Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42506?
How severe is CVE-2026-42506?
How do I fix CVE-2026-42506?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-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-42502Parsing arbitrary HTML which is then rendered using Render c…6.1
- 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-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
- CVE-2026-42509Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-4251A vulnerability was determined in CityData CityChat up to 0.…2.5
- CVE-2026-42510OpenStack Ironic before 35.0.1 allows ipmitool execution in …7.2
- CVE-2026-42511The BOOTP file field is written to the lease file without es…8.1
Are you affected by CVE-2026-42506?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
