CVE-2026-27136Published May 22, 2026 · May 22Updated 2d ago
Invoking duplicate attributes can cause XSS in golang.org/x/net/html
golang.org/x/net/html
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/net Go |
|
|
Original 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.
From the CVE record · Go