GHSA-w4gw-w5jq-g9jh
golang.org/x/net/html has a Quadratic Parsing Complexity issue
At a glance
- Published
- Updated
- CVE
- CVE-2025-47911
- Aliases
- GO-2026-4440
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Description
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
| Package | Versions |
|---|---|
| Go · golang.org/x/net/html | introduced 0, fixed 0.45.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-47911 ADVISORY
- https://github.com/golang/vulndb/issues/4440 WEB
- https://go.dev/cl/709876 WEB
- https://go.googlesource.com/net PACKAGE
- https://groups.google.com/g/golang-announce/c/jnQcOYpiR2c WEB
- https://pkg.go.dev/vuln/GO-2026-4440 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |