Go standard library html/template
14 published vulnerabilities name this product.
As the CNAs write it in their CVE records (vendor and product); the versions are theirs.
| CVE | Vulnerable versions | Title | Severity | Published | EPSS | Exploitation |
|---|---|---|---|---|---|---|
| CVE-2026-97030 | < 1.26.9 ; 1.27.0-0 – < 1.27.2 | Recognize yield as regexp preceder keyword in html/template | MEDIUM 6.1 | 0.3 % | ||
| CVE-2026-94448 | < 1.26.9 ; 1.27.0-0 – < 1.27.2 | Reset context tracking on consecutive template expressions in html/template | MEDIUM 6.1 | 0.3 % | ||
| CVE-2026-56858 | < 1.25.13 ; 1.26.0-0 – < 1.26.6 ; 1.27.0-0 – < 1.27.0-rc.3 | Fix Javascript regexp context tracking in html/template | MEDIUM 6.1 | 0.3 % | ||
| CVE-2026-39826 | < 1.25.10 ; 1.26.0-0 – < 1.26.3 | Escaper bypass leads to XSS in html/template | MEDIUM 6.1 | 0.4 % | ||
| CVE-2026-39823 | < 1.25.10 ; 1.26.0-0 – < 1.26.3 | Bypass of meta content URL escaping causes XSS in html/template | MEDIUM 6.1 | 0.3 % | ||
| CVE-2026-32289 | < 1.25.9 ; 1.26.0-0 – < 1.26.2 | JsBraceDepth Context Tracking Bugs (XSS) in html/template | MEDIUM 6.1 | 0.3 % | ||
| CVE-2026-27142 | < 1.25.8 ; 1.26.0-0 – < 1.26.1 | URLs in meta content attribute actions are not escaped in html/template | MEDIUM 6.1 | 0.3 % | ||
| CVE-2024-24785 | < 1.21.8 ; 1.22.0-0 – < 1.22.1 | Errors returned from JSON marshaling may break template escaping in html/template | MEDIUM 5.4 | 0.8 % | ||
| CVE-2023-39319 | < 1.20.8 ; 1.21.0-0 – < 1.21.1 | Improper handling of special tags within script contexts in html/template | MEDIUM 6.1 | 0.9 % | ||
| CVE-2023-39318 | < 1.20.8 ; 1.21.0-0 – < 1.21.1 | Improper handling of HTML-like comments in script contexts in html/template | MEDIUM 6.1 | 0.9 % | ||
| CVE-2023-24539 | < 1.19.9 ; 1.20.0-0 – < 1.20.4 | Improper sanitization of CSS values in html/template | HIGH 7.3 | 1.0 % | ||
| CVE-2023-24540 | < 1.19.9 ; 1.20.0-0 – < 1.20.4 | Improper handling of JavaScript whitespace in html/template | CRITICAL 9.8 | 1.6 % | ||
| CVE-2023-29400 | < 1.19.9 ; 1.20.0-0 – < 1.20.4 | Improper handling of empty HTML attributes in html/template | HIGH 7.3 | 1.0 % | ||
| CVE-2023-24538 | < 1.19.8 ; 1.20.0-0 – < 1.20.3 | Backticks not treated as string delimiters in html/template | CRITICAL 9.8 | 2.3 % |