CVE-2020-4041 json
The filename of uploaded files vulnerable to stored XSS in Bolt CMS
published 2020-06-08 6 y ago modified 2026-07-08 4 mo ago also GHSA-68q3-7wjp-7q3j , EUVD-2020-0462
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
In Bolt CMS before version 3.7.1, 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. This is fixed in Bolt 3.7.1.
Patch / fix
- packagist bolt/bolt 3.7.1
- boltcms bolt 3.7.1
- github.com/bolt/bolt@b42cbfc commit
- github.com/bolt/bolt#7853 pull request
- github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j advisory
Exploit prediction
2.08% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- packetstormsecurity.com http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2020/Jul/4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | bolt/bolt | <3.7.1 |
3.7.1 |
Affected products
- bolt bolt
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/bolt/bolt/pull/7853
web, patch, third-party-advisory
-
github.com
/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f
web, patch, third-party-advisory
-
github.com
/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j
web, patch, third-party-advisory
-
packetstormsecurity.com
/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html
web, exploit, third-party-advisory, vdb-entry
-
seclists.org
/fulldisclosure/2020/Jul/4
mailing-list, web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-4041
advisory
-
github.com
/bolt/bolt
package
Sources
- CVE List CVE-2020-4041
- GitHub Advisory GHSA-68q3-7wjp-7q3j
- NVD CVE-2020-4041
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.