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