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.
CVE-2026-42502
Score 6.1 from GitHub Security Advisory published 2026-05-26. NVD baseline CVSS 6.1; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EPSS
- 7.6%
- KEV
- Not listed
Published
May 26, 2026
Last Modified
May 29, 2026
Advisory Details (4)
Auto-updated Jun 16, 2026x/net/html: incorrect handling of HTML elements in foreign content · Issue #79572 · golang/go · GitHub
https://go.dev/issue/79572Vendor Advisories for CVE-2026-42502(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:37387Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
- CVE-2026-42502Microsoft Security Response Center (MSRC)Medium
Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
- GHSA-wrh2-89vg-4j9gGitHub Security AdvisoriesMedium
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree....
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| golang.org/x/net | — | 0.55.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 120 total refreshes for this CVE.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 08:22 UTCOSV refresh
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 14:27 UTCVendor advisory
- 2026-07-01 14:27 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 00:59 UTCVendor advisory
- 2026-06-29 00:59 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 19:00 UTCVendor advisory
- 2026-06-27 19:00 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 18:31 UTCVendor advisory
- 2026-06-26 18:31 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 12:23 UTCVendor advisory
- 2026-06-25 12:23 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 00:02 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 00:10 UTCGHSA enrichment
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 00:17 UTCVendor advisory
- 2026-06-16 00:17 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 00:26 UTCVendor advisory
- 2026-06-15 00:26 UTCGHSA enrichment
- 2026-06-14 00:31 UTCVendor advisory
- 2026-06-14 00:31 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 00:33 UTCVendor advisory
- 2026-06-13 00:33 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 00:41 UTCVendor advisory
- 2026-06-12 00:41 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 00:49 UTCVendor advisory
- 2026-06-11 00:49 UTCGHSA enrichment
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 00:57 UTCVendor advisory
- 2026-06-10 00:57 UTCGHSA enrichment
- 2026-06-09 01:06 UTCVendor advisory
- 2026-06-09 01:06 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 01:12 UTCVendor advisory
- 2026-06-08 01:12 UTCGHSA enrichment
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 01:21 UTCVendor advisory
- 2026-06-07 01:21 UTCGHSA enrichment
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 01:29 UTCVendor advisory
- 2026-06-06 01:29 UTCGHSA enrichment
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 01:38 UTCVendor advisory
- 2026-06-05 01:38 UTCGHSA enrichment
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 01:46 UTCVendor advisory
- 2026-06-04 01:46 UTCGHSA enrichment
- 2026-06-03 01:54 UTCVendor advisory
- 2026-06-03 01:54 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-42502?
When was CVE-2026-42502 disclosed?
Is CVE-2026-42502 actively exploited?
What is the CVSS score of CVE-2026-42502?
How do I remediate CVE-2026-42502?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42502
Is Your Infrastructure Affected by CVE-2026-42502?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.