7.3Yüksek

CVE-2023-24539Improper sanitization of CSS values in html/template

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

Açıklama

Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.

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

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.19.9, 1.20.0-0 – < 1.20.4

Kaynaklar ve yamalar