CVE-2026-42502 — Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
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 sa…
Published: 2026-05-22 · CVSS: 6.1 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7