CVE-2026-56858Published Aug 13, 2026 · Aug 13Updated Sep 3
Fix Javascript regexp context tracking in html/template
Go standard library html/template
Medium6.1
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Go standard library html/template |
| No fix yet |
Original description
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
From the CVE record · Go