CVE-2026-39826
MEDIUM6.1EPSS 0.01%Escaper bypass leads to XSS in html/template
Published: 5/7/2026Modified: 5/15/2026
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.
Affected packages (7)
- Bitnami/golangfrom 0, < 1.25.10, >= 1.26.0-0, < 1.26.3
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Debian/golang-1.25from 0, < 1.25.10-1
- Debian/golang-1.26from 0, < 1.26.3-1
- Go/stdlibfrom 0, < 1.25.10, >= 1.26.0-0, < 1.26.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |