CVE-2026-94448: Reset context tracking on consecutive template expressions in html/template
Exploitation: None known · CVSS 6.1 Medium · Unauthenticated · Published 2026-10-08
Description
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.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| html/template | 0 before 1.26.9 | Not listed |
| html/template | 1.27.0-0 before 1.27.2 | Not listed |