CVE-2026-27142
MEDIUM6.1EPSS 0.01%URLs in meta content attribute actions are not escaped in html/template
發布日:2026/3/6修改日:2026/5/15
描述
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
受影響套件(7)
- Bitnami/golangfrom 0, < 1.25.8, >= 1.26.0-0, < 1.26.1
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Debian/golang-1.25from 0, < 1.25.8-1
- Debian/golang-1.26from 0, < 1.26.1-1
- Go/stdlibfrom 0, < 1.25.8, >= 1.26.0-0, < 1.26.1
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 |