medium 6.1
EPSS 0.29%
GO-2026-6600: Recognize yield as regexp preceder keyword in html/template
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google stdlib
https://osv.dev/vulnerability/GO-2026-6600 ↗
osvgofix-available
Recognize yield as regexp preceder keyword in html/template 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: Go:stdlib Fixed in: 1.26.9, 1.27.2 References: https://go.dev/cl/840925 https://go.dev/issue/81823 https://groups.google.com/g/golang-announce/c/U2fTuyDJznI