Description (CNA)
When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / html/template | affected 0 before 1.26.9; affected 1.27.0-0 before 1.27.2 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/cl/839866
- https://go.dev/issue/81821
- https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
- https://pkg.go.dev/vuln/GO-2026-6599
ADP enrichment
No English description supplied.
No references supplied.