CVE-2026-27136 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in the HTML parser of the Golang x/net package, prior to version 0.55.0. The issue arises from the parser's improper handling of duplicate attributes, which can lead to an unexpected HTML structure. When such misparsed HTML is rendered, it can bypass sanitization efforts and execute XSS attacks.
Users can upgrade to version 0.55.0 or later of the golang.org/x/net package to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/781685 | [email protected] | Issue Tracking |
| https://go.dev/issue/79575 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 | [email protected] | Mailing List |
| https://pkg.go.dev/vuln/GO-2026-5030 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1021 | Improper Restriction of Rendered UI Layers or Frames | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang net | < 0.55.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 29, 2026 | Initial Analysis | [email protected] |
| May 22, 2026 | CVE Modified | CISA-ADP |
| May 22, 2026 | New CVE Received | [email protected] |