6.1Mittel

CVE-2026-94448Reset context tracking on consecutive template expressions in html/template

Go standard library html/template Veröffentlicht: (vor 1 Monat)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-79

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library html/template < 1.26.9, 1.27.0-0 – < 1.27.2

Referenzen und Patches