CVE-2026-97030Published Oct 8, 2026 · Oct 8Updated Oct 15
Recognize yield as regexp preceder keyword in html/template
Go standard library html/template
Medium6.1
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Go standard library html/template |
| No fix yet |
Original 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.
From the CVE record · Go