CVE-2025-22872Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
- 6.5MediumCVSS base score
- 0.56%Exploitation in 30 daysEPSS · top 53% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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).
Timeline
ID reserved
By Go
- 3 months later
· 3 months later
Published
- 30 days later
· 30 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
| NVDNVD · Deferred | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.56% · top 53% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
golang.org/x/net · golang.org/x/net/html
- affected < 0.38.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogolang.org/x/netGHSA-vvgc-356p-c3xw (opens in a new tab)
References
References5
- https://go.dev/cl/662715 (opens in a new tab)
- https://go.dev/issue/73070 (opens in a new tab)
- https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA (opens in a new tab)
- https://pkg.go.dev/vuln/GO-2025-3595 (opens in a new tab)
- https://security.netapp.com/advisory/ntap-20250516-0007/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-11453 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-vvgc-356p-c3xw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-22872)Record last updated .