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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://go.dev/cl/769920 Patch
- https://pkg.go.dev/vuln/GO-2026-4982 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.1 · golangNVD modified 2026-10-26 20:10
Affected (CPE criteria) 1
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
References 4
- https://go.dev/cl/769920 Patch
- https://go.dev/issue/78913 Issue Tracking
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M Release Notes
- https://pkg.go.dev/vuln/GO-2026-4982 Vendor Advisory