CVE-2026-42502: Golang Net

Medium severity, CVSS 6.1. EPSS: 0.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Golang Net, before 0.55.0: fixed in 0.55.0

Affected products

Affected packages

Published 2026-05-22. Last modified 2026-07-23.