VDB
Sign up
MEDIUM5.3

GO-2026-4441

Infinite parsing loop in golang.org/x/net

Quick fix

GO-2026-4441 — golang.org/x/net: upgrade to the fixed version with the command below.

go get golang.org/x/net@v0.45.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/golang.org/x/net
Introduced in: 0Fixed in: 0.45.0
Fixgo get golang.org/x/net@v0.45.0

References