CVE-2025-22872 | Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net

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).

Published: 2025-04-16 Last update: 2026-04-15 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-22872 is rated Low Risk (28.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-22872

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-25 0.12% 0.02% -0.10%
2 2026-02-10 0.02% 0.12% +0.10%
3 2025-11-21 0.02%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-22872

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.2 3.7 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2025-22872

GitHub Security Advisory for CVE-2025-22872

GHSA-vvgc-356p-c3xw · Severity: medium · Ecosystem: go — golang.org/x/net vulnerable to Cross-site Scripting

OS Trackers for CVE-2025-22872

vendor priority summary link
debian not yet assigned CVE-2025-22872 not yet assigned priority: Debian including 1 source packages (golang-golang-x-net), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2025-22872
redhat medium https://access.redhat.com/security/cve/CVE-2025-22872
suse medium CVE-2025-22872 severity moderate: SUSE including 552 source package names (13.2-9.1:libexpat1-2.7.1-slfo.1.1_3.1, 13.2-9.1:vim-9.1.1101-1.1, …), 1218 product×package rows across 277 product lines (Container suse/kubectl, Container suse/sl-micro/6.0/baremetal-os-container, … (277 product lines)): Fixed 988, Known Affected 221, Known Not Affected 8, First Fixed 1. https://www.suse.com/security/cve/CVE-2025-22872/
ubuntu medium CVE-2025-22872 medium priority: Ubuntu including 7 source packages (adsys, containerd, …), 53 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 20, DNE 11, released 10, ignored 7, needs-triage 5. https://ubuntu.com/security/CVE-2025-22872

Affected software / configurations for CVE-2025-22872

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-22872

cvelogic Threat Intelligence