Advisory

GO-2026-5030

Also known as: CVE-2026-27136

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-05-22 02:46 UTC
Modified
2026-11-14 13:12 UTC

Affected packages and fixes

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.55.0 (semver)

Fixed versions

0.55.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences