GO-2026-6600
Recognize yield as regexp preceder keyword in html/template
At a glance
- Published
- Updated
- CVE
- CVE-2026-97030
- Aliases
- BIT-golang-2026-97030
Description
A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.26.9, introduced 1.27.0-0, fixed 1.27.2 |
References
- https://go.dev/cl/840925 FIX
- https://go.dev/issue/81823 REPORT
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |