CVE-2025-22872
Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
Published: Apr 16, 2025Updated: May 16, 2025 Sources: CVE List NVD GHSA BDU
6.5CVSSMEDIUM
Description
The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer, this can result in such tags incorrectly being marked as self-closing, and when using the Parse functions, this can result in content following such tags as being placed in the wrong scope during DOM construction, but only when tags are in foreign content (e.g. <math>, <svg>, etc contexts).
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:CScopeChanged
Impact
C:LConfidentialityLow
I:LIntegrityLow
A:LAvailabilityLow
Affected Products
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 14 more affected products View all →
Exploitability
Official Patch Available
References
https://go.dev/cl/662715
go.dev
https://go.dev/issue/73070
go.dev
https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA
groups.google.com
and 12 more references View all →
Timeline
Published
Apr 16, 2025
Last Updated
May 16, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-22872 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows