CVEvulnerability
CVE-2026-42502
6.1 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-22
- Last modified
- 2026-07-23
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-1021
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.
Affected configurations
• golang net (< 0.55.0)
Related
Weakness · CWE (1)
- CWE-1021 Improper Restriction of Rendered UI Layers or Frames weakness
References
- https://go.dev/cl/781701 Issue Tracking
- https://go.dev/issue/79572 Issue Tracking
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 Mailing List
- https://pkg.go.dev/vuln/GO-2026-5027 Vendor Advisory