Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / html/template | affected 0 before 1.19.9; affected 1.20.0-0 before 1.20.4 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/issue/59722
- https://go.dev/cl/491617
- https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
- https://pkg.go.dev/vuln/GO-2023-1753
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.