GO-2026-4982
Dashboard / Vulnerabilities / GO-2026-4982
GO-2026-4982
Published: 7 May 2026Last Modified: 31 Aug 2026
Summary: Bypass of meta content URL escaping causes XSS in html/template
Details: 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.
References: https://go.dev/issue/78913, https://go.dev/cl/769920, https://groups.google.com/g/golang-announce/c/qcCIEXso47M
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.25.10
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
