7.3Yüksek

CVE-2023-29400Improper handling of empty HTML attributes in html/template

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

Açıklama

Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.

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