CVE Tools

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

AV:NAC:HPR:NUI:NS:CC:LI:LA:L
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:LConfidentiality
Low
I:LIntegrity
Low
A:LAvailability
Low

Affected Products

golang.org/x/netoss-projectOSS Librariesaka golang.org/x/net
gopackage-ecosystemOSS Libraries
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 14 more affected products View all →

Exploitability

Official Patch Available

References

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 Account
Plain-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