CVE-2026-39826
MEDIUM6.1EPSS 0.01%Escaper bypass leads to XSS in html/template
發布日:2026/5/7修改日:2026/5/11
也稱為:BIT-golang-2026-39826CGA-4mcr-6mw7-3w72GO-2026-4980
描述
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.
受影響套件(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 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |