Skip to content
6.1 Medium

CVE-2026-94448 When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset…

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.

Affected products and versions

Product Affected versions Fixed in
html/template 1.27 1.27.0-0 → < 1.27.2 1.27.2
html/template 1.26 earliest → < 1.26.9 1.26.9

References

Timeline

  1. Published
  2. Last modified
The 14 CVEs of html/template →
Track this CVE