cve.bz

CVE-2026-42502

6.1 mediumEPSS 0.2%

Medium (6.1) in golang net. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in golang.org/x/net 0.55.0.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 12% of CVEs (scores of 2026-10-31)
CWE
CWE-1021
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-5027Gogolang.org/x/net<0.55.00.55.0

References

Check your stackJSON