ADVISORIES

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

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

References