XSS Vulnerability in Go Programming Language's HTML Rendering
CVE-2026-27136

6.1MEDIUM

Key Information:

Vendor
CVE Published:
22 May 2026

What is CVE-2026-27136?

A vulnerability exists in the Go programming language's HTML parsing and rendering capabilities. When arbitrary HTML is parsed, it may produce an unexpected HTML structure. This raises security concerns, as it can be exploited to execute Cross-Site Scripting (XSS) attacks in applications relying on the Go language to sanitize and render input HTML. Developers using this functionality must ensure adequate input validation and consider the implications of rendered output to protect their applications from potential security breaches.

Affected Version(s)

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

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

ensy
.