6.1Orta

CVE-2026-39826Escaper bypass leads to XSS in html/template

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

Açıklama

If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.

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

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.25.10, 1.26.0-0 – < 1.26.3
golang go < 1.25.10

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.25.10
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.26.0 < 1.26.3