{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-24785", "ASSIGNER": "security@golang.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Go standard library", "product": { "product_data": [ { "product_name": "html/template", "version": { "version_data": [ { "version_affected": "<", "version_name": "0", "version_value": "1.21.8" }, { "version_affected": "<", "version_name": "1.22.0-0", "version_value": "1.22.1" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://go.dev/issue/65697", "refsource": "MISC", "name": "https://go.dev/issue/65697" }, { "url": "https://go.dev/cl/564196", "refsource": "MISC", "name": "https://go.dev/cl/564196" }, { "url": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg", "refsource": "MISC", "name": "https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg" }, { "url": "https://pkg.go.dev/vuln/GO-2024-2610", "refsource": "MISC", "name": "https://pkg.go.dev/vuln/GO-2024-2610" } ] }, "credits": [ { "lang": "en", "value": "RyotaK (https://ryotak.net)" } ] }