CVEvulnerability
CVE-2026-27142
6.1 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-03-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
Description
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
Affected configurations
• golang go (< 1.25.8)
• golang go 1.26.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://go.dev/cl/752081 Mailing List
- https://go.dev/issue/77954 Issue Tracking
- https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk Release Notes
- https://pkg.go.dev/vuln/GO-2026-4603 Vendor Advisory