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
Affected Vendors & Products
References
History
Mon, 25 May 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Golang
Golang net |
|
| Vendors & Products |
Golang
Golang net |
Fri, 22 May 2026 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Fri, 22 May 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html | |
| References |
|
Status: PUBLISHED
Assigner: Go
Published:
Updated: 2026-05-22T17:45:49.989Z
Reserved: 2026-04-28T00:21:12.792Z
Link: CVE-2026-42506
Updated: 2026-05-22T17:45:46.046Z
No data.
No data.
OpenCVE Enrichment
Updated: 2026-05-25T11:34:17Z