CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-56858: Fix Javascript regexp context tracking in html/template

mediumCVSS 6.1CVE-2026-56858

CSIRTS triage

What
The html/template package has incorrect JavaScript regexp context tracking, potentially allowing XSS injection.
Who is affected
Go applications using html/template to generate HTML with embedded JavaScript from untrusted data.
Urgency
Medium severity (CVSS 6.1); context confusion in template escaping can lead to XSS; patch to fix escaping logic.
Action
Update Go to a patched version that correctly tracks JavaScript regexp context in html/template.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch html/template

Get an email when a new html/template advisory drops — max one per day, one-click unsubscribe.

Details

Source
Microsoft Security Response Center (INTL · vendor-psirt · site)
Severity
medium — CVSS 6.1
Published
2026-08-11
Exploitation
Not in CISA KEV at last sync

Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-56858

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2026-56858coverage & exploitation statusNVD · CVE.org

Same CVEs, other sources

How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.

More from Microsoft Security Response Center