CVE-2026-27136

GO-2026-5030 · published 22 May 2026 · updated 14 Nov 2026

Invoking duplicate attributes can cause XSS in golang.org/x/net/html

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.55.0 and golang.org/x/net 0.55.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/net<0.55.00.55.0
go: golang.org/x/net<0.55.00.55.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in golang.org/x/net (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-27136 severity on Zeptric[![CVE-2026-27136](https://zeptric.io/badge/cve/CVE-2026-27136.svg)](https://zeptric.io/cve/CVE-2026-27136)