Go Standard Library Html/template vulnerabilities
4 CVEs affecting Go Standard Library Html/template, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-97030, published 2026-10-08.
More from Go Standard Library.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2024-24785, published 2024-03-05. Medium severity, CVSS 5.4. EPSS: 0.9% probability of exploitation activity in the next 30 days. 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…
- CVE-2026-97030, published 2026-10-08. Medium severity, CVSS 6.1. EPSS: 0.3% probability of exploitation activity in the next 30 days. A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and…
- CVE-2026-94448, published 2026-10-08. Medium severity, CVSS 6.1. EPSS: 0.3% probability of exploitation activity in the next 30 days. When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression…
- CVE-2026-56858, published 2026-08-13. Medium severity, CVSS 6.1. EPSS: 0.3% probability of exploitation activity in the next 30 days. Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.