CVE-2020-4041
mediumpriority · track · 25EPSS 0.021 · 81 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.3–7.4
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-68q3-7wjp-7q3jThe filename of uploaded files vulnerable to stored XSS2020-06-09ghsa · osvUS
### 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
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- http://seclists.org/fulldisclosure/2020/Jul/4cnnvd
- http://www.nsfocus.net/vulndb/47351cnnvd
- https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419fcnnvd
- https://github.com/bolt/bolt/pull/7853cnnvd
- https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3jcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-4041cnnvd
- https://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.htmlcnnvd
- http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan