Template Execution Vulnerability in Go Programming Language
CVE-2026-39826

Currently unrated

Key Information:

Vendor
CVE Published:
7 May 2026

What is CVE-2026-39826?

A vulnerability exists in the Go programming language where a trusted template author can improperly utilize the tag. If the 'type' attribute is empty or contains ASCII whitespace, the template fails to correctly escape any data input into the block. This can lead to unintended script execution and potential exposure of sensitive information.

Affected Version(s)

html/template 0 < 1.25.10

html/template 1.26.0-0 < 1.26.3

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Mundur (https://github.com/M0nd0R)
.