CVE-2026-42506
Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.235% · 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:59:58.648Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:50.042Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:37.080Z | OSV |
| affected | verified | 2026-11-19T12:58:33.648Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:33.648Z | CVE Program |
Affected versions and configuration
golang.org/x/net golang.org/x/net/html; default status: unaffected: 0 to < 0.55.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.55.0",
"versionType": "semver"
}
],
"packageName": "golang.org/x/net/html",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "parser.parse"
},
{
"name": "Parse"
},
{
"name": "ParseFragment"
},
{
"name": "ParseFragmentWithOptions"
},
{
"name": "ParseWithOptions"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.1,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-42506",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-22T17:45:29.886387Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-22T17:45:49.989Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2026-5025",
"aliases": [
"CVE-2026-42506"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.55.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-2026-5025.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/net/html",
"symbols": [
"Parse",
"ParseFragment",
"ParseFragmentWithOptions",
"ParseWithOptions",
"parser.parse"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/issue/79571",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8",
"type": "WEB"
},
{
"url": "https://go.dev/cl/781700",
"type": "FIX"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-5025",
"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.55.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:58:33.648ZArchived source JSON
Source publication: 2026-05-22T15:01:21.056Z
Source modification: 2026-05-22T17:45:49.989ZDocument fingerprint
b4995ca3bf038c6616ae95c59303063f60341dc3caf91b0940d79ca1f9c67c0c - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:37.080ZArchived source JSON
Source publication: 2026-05-22T02:46:43.000Z
Source modification: 2026-05-30T05:14:17.563ZDocument fingerprint
d85289dcf7894a7fab311c831399017440686686353d135825e7603131cd938e - FIRST EPSSConsulted: 2026-11-19T16:04:50.042ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7e3baeaa25e4f4d3f88d7df0a5c946bd568f06b8497afa562ddc93c71aed8205
Official status history
- UNKNOWN → PUBLISHED · · evidence