ADVISORIES

Go Vulnerability Database

GO-2026-4440

Quadratic parsing complexity in golang.org/x/net/html

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
All versions before 0.45.0 (fixed in 0.45.0)

References