CVE-2026-56858

Summary

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

Affected Software

VendorProductVersion RangeStatus
Go standard libraryhtml/template0 < 1.25.13affected
Go standard libraryhtml/template1.26.0-0 < 1.26.6affected
Go standard libraryhtml/template1.27.0-0 < 1.27.0-rc.3affected

Weaknesses

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

References