Description

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

Weaknesses

  • — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected products

VendorProductVersions
Go standard libraryhtml/template0 to <1.25.13; 1.26.0-0 to <1.26.6; 1.27.0-0 to <1.27.0-rc.3

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 14 Aug 2026 07:02 UTC.