CVE-2026-39826

MEDIUM CVSS 3.1: 6.1 EPSS 0.37%
Updated Oct 26, 2026
Golang
Parameter Value
CVSS 6.1 (MEDIUM)
Affected Versions 1.26.0 — 1.26.3
Fixed In 1.25.10
Type CWE-116 (Improper Encoding or Escaping of Output)
Vendor Golang
Public PoC No

If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
— 1.25.10
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
1.26.0 1.26.3