CVE-2026-39823 Details
Description
CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.
A vulnerability exists in the Go programming language's HTML template package, specifically in versions prior to 1.25.10 and between 1.26.0 and 1.26.3. This vulnerability allows for cross-site scripting (XSS) attacks due to improper URL escaping in meta tags. The issue arises when URLs in the 'content' attribute of a meta tag are surrounded by ASCII whitespaces, which disrupts the escaping process and creates a potential XSS vector.
Users can upgrade to Go versions 1.26.3 or 1.25.10, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
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 8, 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/769920 | [email protected] | Patch |
| https://go.dev/issue/78913 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/qcCIEXso47M | [email protected] | Release Notes |
| https://pkg.go.dev/vuln/GO-2026-4982 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.25.10 >= 1.26.0, < 1.26.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | CVE Modified | CISA-ADP |
| May 7, 2026 | New CVE Received | [email protected] |