Improper Encoding or Escaping of Output Affecting std/html/template package, versions <1.25.10>=1.26.0-0 <1.26.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDHTMLTEMPLATE-16535164
  • published8 May 2026
  • disclosed7 May 2026
  • creditMundur

Introduced: 7 May 2026

CVE-2026-39826  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade std/html/template to version 1.25.10, 1.26.3 or higher.

Overview

std/html/template is a Go standard library package std/html/template

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output.

Go Vulnerability Report:

If a trusted template author were to write a

CVSS Base Scores

version 4.0
version 3.1