6.1Orta

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

Go standard library html/template Yayım: (1 ay önce)

Açıklama

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.

Zayıflık türü (CWE): CWE-79

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
Go standard library html/template < 1.26.9, 1.27.0-0 – < 1.27.2

Kaynaklar ve yamalar