CVE-2026-56858

Fix Javascript regexp context tracking in html/template

Published Aug 13, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
First Time appeared Go Standard Library
Go Standard Library html/template
Vendors & Products Go Standard Library
Go Standard Library html/template
Type Values Removed Values Added
Description Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
Title Fix Javascript regexp context tracking in html/template
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Aug 14, 2026, 3:32 PM
Reserved
Jun 23, 2026, 3:10 PM
Status
Awaiting Analysis
Published
Aug 13, 2026, 10:17 PM
Modified
Sep 3, 2026, 4:37 PM
Severity
Important
Public date
Aug 13, 2026, 9:58 PM