What’s Vulnerable › Vulnerabilities

CVE-2026-27136: Invoking duplicate attributes can cause XSS in golang.org/x/net/html

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 products

How to fix

Upgrade to a fixed version: golang.org/x/net/html 0.55.0; Golang.Org/X/Net 0.55.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-27136 or the next vulnerability affects your stack