GitHub Advisory Database
GHSA-w4gw-w5jq-g9jh
golang.org/x/net/html has a Quadratic Parsing Complexity issue
Details
The html.Parse function in golang.org/x/net/html has quadratic parsing complexity 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/html | All versions before 0.45.0 (fixed in 0.45.0) |