GO-2026-5030Published
Invoking duplicate attributes can cause XSS in golang.org/x/net/html
Historical advisory saved 14 Nov 2026 13:57:00 UTC. The publisher may have updated it since then. Latest advisory.
osv · GO-2026-5030
PublishedParsing 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.
- Source published
- 22 May 2026 02:46:43 UTC
- Source modified
- 14 Nov 2026 13:12:14 UTC
- Saved here
- 14 Nov 2026 13:57:00 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.