Go Vulnerability Database
GO-2026-4441
Infinite parsing loop in golang.org/x/net
Details
The html.Parse function in golang.org/x/net/html has an infinite parsing loop when processing certain inputs, which can lead to denial of service (DoS) if an attacker provides specially crafted HTML content.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/net | All versions before 0.45.0 (fixed in 0.45.0) |