html: ignore duplicate attributes during tokenization During tokenization ignore attributes with names we've already seen, per WHATWG 13.2.5.33. This removes a parser misalignment that could be leveraged to confuse sanitizers. Thanks to ensy for reporting this issue. Fixes CVE-2026-27136 Change-Id: Ib0a3edb8dbea35c431f74f8b0bbe6229625d7e1f Reviewed-on: https://go-review.googlesource.com/c/net/+/781685 Reviewed-by: Neal Patel <nealpatel@google.com> Reviewed-by: Nicholas Husin <nsh@golang.org> TryBot-Bypass: Roland Shoemaker <roland@golang.org> Auto-Submit: Gopher Robot <gobot@golang.org> Reviewed-by: Nicholas Husin <husin@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.