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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | html/template | < 1.25.10; >= 1.26.0-0, < 1.26.3 |
References
- https://go.dev/cl/769920Patch
- https://go.dev/issue/78913Issue Tracking
- https://groups.google.com/g/golang-announce/c/qcCIEXso47MRelease Notes
- https://pkg.go.dev/vuln/GO-2026-4982Vendor Advisory
Timeline
- Published
- May 7, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Analyzed