CVE-2026-56858
JSON

6.1medium

Fix Javascript regexp context tracking in html/template

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2026-6091BIT-GOLANG-2026-56858

Description

Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.

Affected

Product or packageVersionsReported by
html/templatebefore 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0-rc.3CVE List
stdlib (Go)before 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0-rc.3Go Vulnerability Database
golang (Bitnami)before 1.25.13, from 1.26.0-0 before 1.26.6, from 1.27.0-0 before 1.27.0Bitnami Vulnerability Database

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-56858 changed 2026-08-14CVE Terms of Use
Go Vulnerability DatabaseGO-2026-6091 changed 2026-11-25CC-BY-4.0
NVDCVE-2026-56858 changed 2026-09-03Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2026-56858 changed 2026-08-19Apache-2.0