Vulnerability Report: GO-2026-4982
standard library- CVE-2026-39823
- Affects: html/template
- Published: May 07, 2026
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.
Affected Packages
-
PathGo VersionsSymbols
-
before go1.25.10, from go1.26.0-0 before go1.26.3
Aliases
References
- https://go.dev/issue/78913
- https://go.dev/cl/769920
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- https://vuln.go.dev/ID/GO-2026-4982.json
Credits
- Samy Ghannad
Feedback
See anything missing or incorrect?
Suggest an edit to this report.