CVE-2020-4041
HIGH7.4EPSS 0.44%The filename of uploaded files vulnerable to stored XSS
發布日:2020/6/9修改日:2026/3/13
描述
### Impact The filename of uploaded files was vulnerable to stored XSS. It is not possible to inject javascript code in the file name when creating/uploading the file. But, once created/uploaded, it can be renamed to inject the payload in it. Additionally, the measures to prevent renaming the file to disallowed filename extensions could be circumvented. ### Patches This is fixed in Bolt 3.7.1. ### References Related issue: https://github.com/bolt/bolt/pull/7853
受影響套件(1)
- Packagist/bolt/boltfrom 0, < 3.7.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-4041
- PATCHhttps://github.com/bolt/bolt
- WEBhttp://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html
- WEBhttp://seclists.org/fulldisclosure/2020/Jul/4
- WEBhttps://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f
- WEBhttps://github.com/bolt/bolt/pull/7853
- WEBhttps://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j