ADVISORIES

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

EcosystemPackageAffected versions
Gogolang.org/x/net/html
All versions before 0.45.0 (fixed in 0.45.0)

References