Arbitrary HTML Parsing Vulnerability in Go's HTML Rendering
CVE-2026-42506

Currently unrated

Key Information:

Vendor
CVE Published:
22 May 2026

What is CVE-2026-42506?

The vulnerability allows for the parsing of arbitrary HTML, which can lead to the construction of an unpredictable HTML tree. This flaw can be exploited in applications that employ HTML sanitization before rendering, potentially allowing for the execution of cross-site scripting (XSS) attacks. Developers using affected versions should review their HTML rendering processes to bolster security against such vulnerabilities.

Affected Version(s)

golang.org/x/net/html 0 < 0.55.0

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

ensy
.