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

PackageVersions
Go · golang.org/x/net/htmlintroduced 0, fixed 0.45.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database