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).
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.555% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:37.080Z | OSV |
| affected | verified | 2026-11-19T12:57:27.612Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:27.612Z | CVE Program |
Affected versions and configuration
golang.org/x/net golang.org/x/net/html; default status: unaffected: 0 to < 0.38.0 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "golang.org/x/net",
"product": "golang.org/x/net/html",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.38.0",
"versionType": "semver"
}
],
"packageName": "golang.org/x/net/html",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Tokenizer.readStartTag"
},
{
"name": "Parse"
},
{
"name": "ParseFragment"
},
{
"name": "ParseFragmentWithOptions"
},
{
"name": "ParseWithOptions"
},
{
"name": "Tokenizer.Next"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "LOW",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-22872",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-04-16T20:14:29.607584Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-16T20:15:13.433Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://security.netapp.com/advisory/ntap-20250516-0007/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-05-16T23:03:07.693Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vvgc-356p-c3xw",
"aliases": [
"CVE-2025-22872",
"GO-2025-3595"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.38.0"
}
]
}
],
"package": {
"name": "golang.org/x/net",
"purl": "pkg:golang/golang.org/x/net",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-vvgc-356p-c3xw/GHSA-vvgc-356p-c3xw.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22872",
"type": "ADVISORY"
},
{
"url": "https://go.dev/cl/662715",
"type": "WEB"
},
{
"url": "https://go.dev/issue/73070",
"type": "WEB"
},
{
"url": "https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2025-3595",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20250516-0007",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-04-16T18:16:04Z",
"github_reviewed_at": "2025-04-16T19:22:51Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2025-3595",
"aliases": [
"CVE-2025-22872",
"GHSA-vvgc-356p-c3xw"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.38.0"
}
]
}
],
"package": {
"name": "golang.org/x/net",
"purl": "pkg:golang/golang.org/x/net",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2025-3595.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/net/html",
"symbols": [
"Parse",
"ParseFragment",
"ParseFragmentWithOptions",
"ParseWithOptions",
"Tokenizer.Next",
"Tokenizer.readStartTag"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/662715",
"type": "FIX"
},
{
"url": "https://go.dev/issue/73070",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-3595",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | golang.org/x/net | Not a distribution channel | 0.38.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:37.080ZArchived source JSON
Source publication: 2025-04-16T19:22:51.000Z
Source modification: 2026-09-10T03:50:24.031ZDocument fingerprint
d85289dcf7894a7fab311c831399017440686686353d135825e7603131cd938e - OSVConsulted: 2026-11-19T12:52:37.080ZArchived source JSON
Source publication: 2025-04-16T16:54:55.000Z
Source modification: 2026-02-05T02:43:52.511ZDocument fingerprint
d85289dcf7894a7fab311c831399017440686686353d135825e7603131cd938e - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:27.612ZArchived source JSON
Source publication: 2025-04-16T17:13:02.550Z
Source modification: 2025-05-16T23:03:07.693ZDocument fingerprint
9b6a29a13e096f8ed2b75246e8866b83be2d5679f3a970e6be762026f2ff1320 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence