CVE-2025-22872: Golang golang x net dev: The tokenizer incorrectly interprets tags with unquoted attribute values
Affects golang-golang-x-net-devSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2 : update golang-golang-x-net-dev when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2, 2.3.7-0ubuntu0.16.04.1+esm2, 2.0.11-0ubuntu1~16.04.4+esm2 +6
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSgolang-golang-x-netpkg:deb/ubuntu/golang-golang-x-net?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSgolang-golang-x-netpkg:deb/ubuntu/golang-golang-x-net?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSgolang-golang-x-netpkg:deb/ubuntu/golang-golang-x-net?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSgolang-golang-x-net-devpkg:deb/ubuntu/golang-golang-x-net-dev?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSlxdpkg:deb/ubuntu/lxd?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSgolang-golang-x-net-devpkg:deb/ubuntu/golang-golang-x-net-dev?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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).
References
- ubuntu.com/security/CVE-2025-22872 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22872 (opens in a new tab)
- go.dev/cl/662715 (opens in a new tab)
- groups.google.com/g/golang-announce/c/ezSKR9vqbqA (opens in a new tab)
- pkg.go.dev/vuln/GO-2025-3595 (opens in a new tab)
- github.com/TheDegenerateDev5150/net/commit/e1fcd82abba34df74614020343be8eb1fe85f0d9 (opens in a new tab)
- ubuntu.com/security/notices/USN-8089-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8089-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8089-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8900-1 (opens in a new tab)