GO-2026-4982: Bypass of meta content URL escaping causes XSS in html/template
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google stdlib
https://osv.dev/vulnerability/GO-2026-4982 ↗
Bypass of meta content URL escaping causes XSS in html/template CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a tag's attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the attribute, the escaper would fail to similarly escape it, leading to XSS. Affected: Go:stdlib Fixed in: 1.25.10, 1.26.3 References: https://go.dev/issue/78913 https://go.dev/cl/769920 https://groups.google.com/g/golang-announce/c/qcCIEXso47M