Go standard library · Go · published 2026-08-13
CVE-2026-56858Fix Javascript regexp context tracking in html/template
Routine No exploitation evidence; EPSS 0.3%.
CVE-2026-56858 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 24% of all CVEs. This Go vulnerability: CVSS 6.1 (v3.1). Fixed upstream in Go 1.26.6, 1.25.13. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Go 1.26.6, 1.25.13.
Patch events
Language runtimeGo
Go security releases: 1.26.6, 1.25.13
Upgrade to
1.26.61.25.13Why: CVE-2026-39821: EPSS 1.8% with high severity (CVSS 9.6).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.3% (24th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.1 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Go standard library html/template
0to before1.25.13(affected)1.26.0-0to before1.26.6(affected)1.27.0-0to before1.27.0-rc.3(affected)
Description (from the CVE record)#
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
Quoted from the CVE Program record.