{"id":"CVE-2026-97030","sourceIdentifier":"security@golang.org","published":"2026-10-08T23:17:05.910","lastModified":"2026-10-15T16:18:24.817","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"security@golang.org","affectedData":[{"vendor":"Go standard library","product":"html/template","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"html/template","programRoutines":[{"name":"nextJSCtx"},{"name":"tJS"},{"name":"Template.Execute"},{"name":"Template.ExecuteTemplate"}],"versions":[{"version":"0","lessThan":"1.26.9","versionType":"semver","status":"affected"},{"version":"1.27.0-0","lessThan":"1.27.2","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-15T15:30:23.923887Z","id":"CVE-2026-97030","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://go.dev/cl/840925","source":"security@golang.org"},{"url":"https://go.dev/issue/81823","source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI","source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2026-6600","source":"security@golang.org"}]}