{"id":"CVE-2026-97030","published":"2026-10-08T22:53:57Z","modified":"2026-10-15T15:30:28Z","title":"Recognize yield as regexp preceder keyword in html/template","vendor":"Go standard library","product":"html/template","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00289,"percentile":0.21947,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://go.dev/cl/840925","tags":[]},{"url":"https://go.dev/issue/81823","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6600","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.39},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"html/template","versions":["< 1.26.9",">= 1.27.0-0, < 1.27.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T15:30:23.923887Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.26.9",">=1.27.0-0, <1.27.2"],"patched":["1.26.9","1.27.2"],"from":["GO-2026-6600"],"provenance":"source"}],"summary":{"text":"The html/template package in the Go standard library mishandled the 'yield' keyword, so in some templates written by trusted authors it was not correctly escaped, and the fix now escapes valid keyword uses while leaving non-keyword uses unescaped. An attacker who can supply input that reaches such a template can inject script into the generated page, which requires only that a victim interacts with the page (for example by loading or clicking through it) and that the attacker can reach the application over the network without authenticating.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:33Z"},"euvd":{"id":"EUVD-2026-95416","exploited":false,"provenance":"source"}}