5.4Orta

CVE-2024-24785Errors returned from JSON marshaling may break template escaping in html/template

Go standard library html/template Yayım: (2 yıl önce)

Açıklama

If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.

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

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.21.8, 1.22.0-0 – < 1.22.1

Kaynaklar ve yamalar