~ / search / GHSA-w4gw-w5jq-g9jh

GHSA-w4gw-w5jq-g9jh

golang.org/x/net/html has a Quadratic Parsing Complexity issue

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-47911

Packages

EcosystemPackageAffectedFixed in
Go golang.org/x/net/html < 0.45.0 0.45.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.