CVE-2026-42506
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| golang.org/x/net | golang.org/x/net/html | 0 < 0.55.0 | affected |
Weaknesses
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://go.dev/issue/79571
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- https://go.dev/cl/781700
- https://pkg.go.dev/vuln/GO-2026-5025
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.