Vulnerability GO-2026-4865
Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
6 months ago
April 07, 2026 at 10:53 PM UTC
JsBraceDepth Context Tracking Bugs (XSS) in html/template
<1.25.9
<1.25.9
Summary
JsBraceDepth Context Tracking Bugs (XSS) in html/template
Details
Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied.
These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities.
References
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Unknown
1 month ago
Enforce maximum recursion depth in encoding/asn1
<1.25.13 GO-2026-5972
<1.25.13 GO-2026-5972
Unknown
1 month ago
Add recursion depth guard during decode in encoding/xml
<1.25.13 GO-2026-6088
<1.25.13 GO-2026-6088
Unknown
1 month ago
Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
<1.25.13 GO-2026-6089
<1.25.13 GO-2026-6089
Unknown
1 month ago
Limit handshake messages we are willing to accept post-handshake in crypto/tls
<1.25.13 GO-2026-6090
<1.25.13 GO-2026-6090
Unknown
1 month ago
Fix Javascript regexp context tracking in html/template
<1.25.13 GO-2026-6091
<1.25.13 GO-2026-6091
Impacted packages
Timeline
Published
6 months ago
April 07, 2026 at 10:53 PM UTC
Last Modified
2 hours ago
October 07, 2026 at 10:41 AM UTC