CVE-2026-42502Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree.
Updated under an hour ago ()
Does this affect you?
It affects golang net. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.1 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness (CWE)
- CWE-1021
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jul 23, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
golang net golang:net | before 0.55.0 | NVD |
References
- https://go.dev/cl/781701issue-tracking
- https://go.dev/issue/79572issue-tracking
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8mailing-list
- https://pkg.go.dev/vuln/GO-2026-5027vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.