When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
https://pkg.go.dev/vuln/GO-2025-4008
https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI