Skip to content
6.1 Medium

CVE-2026-42502 Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree

Description

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.

Affected products and versions

Product Affected versions Fixed in
golang.org/x/net/html 0.55 earliest → < 0.55.0 0.55.0

References

Timeline

  1. Published
  2. Last modified
The 12 CVEs of golang.org/x/net/html →
Track this CVE