6.1Medium

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

golang.org/x/net golang.org/x/net/html Published: (5 months ago)

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.

Weakness (CWE): CWE-79CWE-1021

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
golang net < 0.55.0
golang.org/x/net golang.org/x/net/html < 0.55.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:golang:net:*:*:*:*:*:go:*:* < 0.55.0