All CVEs / Go standard library
CVE-2026-56858Go standard library html/template
Medium 6.1 No auth needed
Follow: this CVE · Go standard library · Go standard library html/template We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Aug 13, 2026
- Updated
- Sep 3, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
What to do
- Apply the vendor's security update for html/template.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.25.13 |
1.25.13 |
go get stdlib@v1.25.13 |
| Go | stdlib |
≥ 1.26.0-0 < 1.26.6 |
1.26.6 |
go get stdlib@v1.26.6 |
| Go | stdlib |
≥ 1.27.0-0 < 1.27.0-rc.3 |
1.27.0-rc.3 |
go get stdlib@v1.27.0-rc.3 |
Per OSV / GitHub Advisories (GO-2026-6091). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · html/template
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: container-tools:rhel8 security update · Red Hat · RHSA-2026:102905 · Nov 25, 2026 High
- Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update · Red Hat · RHSA-2026:102902 · Nov 25, 2026 High
- Red Hat Security Advisory: buildah, conmon, container-selinux, containernetworking-plugins, containers-common, crun, fuse-overlayfs, gvisor-tap-vsock, oci-seccomp-bpf-hook, podman, runc, skopeo, and slirp4netns security, bug fix, and enhancement update · Red Hat · RHSA-2026:102708 · Nov 25, 2026 High
- Security update for rclone · SUSE · openSUSE-SU-2026:21999-1 · Sep 28, 2026 Critical
- rclone-1.75.1-1.1 on GA media · SUSE · openSUSE-SU-2026:11727-1 · Sep 8, 2026 High
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
Also: Red Hat (+119), SUSE (+19)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.