# GO-2026-6600: Recognize yield as regexp preceder keyword in html/template

- Database: Go
- Also known as: BIT-GOLANG-2026-97030
- Published: 2026-10-08
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-97030](https://cve.now/CVE-2026-97030.md): Recognize yield as regexp preceder keyword in html/template

## Affected versions

- stdlib (Go): fixed in 1.26.9; from 1.27.0-0, fixed in 1.27.2

## 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.

## References

- https://go.dev/cl/840925
- https://go.dev/issue/81823
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI

Page: https://cve.now/GO-2026-6600

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
