CVE-2026-39826: go standard library html/template Improper Encoding or Escaping of Output
Vulnerability summary
CVE-2026-39826 is a medium (CVSS 6.1) Improper Encoding or Escaping of Output vulnerability in go standard library html/template. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 32.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 16 · Related 17Timeline
- 07-05-2026PublishedVulnerability first disclosed.
- 08-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
+0.02 pp
From 0.37% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard200 products
- aactl< 0.4.12-r50 | < 0.4.12-r51
- actAll versions (No fix recorded)
- actions-runner-controller-fips< 0.14.1-r2 | < 0.14.1-r1 | All versions (No fix recorded)
- addon-resizerAll versions (No fix recorded)
- addon-resizer-fipsAll versions (No fix recorded)
1 vendor · 200 products · Showing 200 of 3371. Use Open JSON for the complete list.
References
12 links- pkg.go.devWEB