CVE-2026-25681: medium-severity vulnerability in golang.org/x/net/html
Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.1epss 0.2%
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
golang.org/x/net · golang.org/x/net/htmlRelated CVEs — golang.org/x/net/html
In the same product, most dangerous first.
CVE-2024-45338MEDIUMNon-linear parsing of case-insensitive content in golang.org/x/net/htmlEPSS 1.1%CVE-2023-3978—Improper rendering of text nodes in golang.org/x/net/htmlEPSS 0.9%CVE-2025-47911MEDIUMQuadratic parsing complexity in golang.org/x/net/htmlEPSS 0.6%CVE-2025-22872MEDIUMIncorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/netEPSS 0.5%CVE-2025-58190MEDIUMInfinite parsing loop in golang.org/x/netEPSS 0.5%CVE-2026-78661HIGHAvoid quadratic complexity when coalescing text nodes in html in golang.org/x/netEPSS 0.4%