CVE-2020-4041
published 2020-06-08CVE-2020-4041: 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…
PriorityP429medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
2.03%
78.6th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| bolt | bolt | < 3.7.1 | 3.7.1 |
| bolt | bolt | >= 0 < 3.7.1 | 3.7.1 |
| boltcms | bolt | < 3.7.1 | 3.7.1 |
| msrc | cbl2_bolt_0.9.2-2_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
vendor_msrc7.4HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
The filename of uploaded files vulnerable to stored XSS
ghsa·2020-06-09
CVE-2020-4041 [HIGH] CWE-79 The filename of uploaded files vulnerable to stored XSS
The filename of uploaded files vulnerable to stored XSS
### 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
OSV
The filename of uploaded files vulnerable to stored XSS
osv·2020-06-09
CVE-2020-4041 [HIGH] The filename of uploaded files vulnerable to stored XSS
The filename of uploaded files vulnerable to stored XSS
### 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
Microsoft
The filename of uploaded files vulnerable to stored XSS in Bolt CMS
vendor_msrc·2020-06-09·CVSS 7.4
CVE-2020-4041 [HIGH] CWE-79 The filename of uploaded files vulnerable to stored XSS in Bolt CMS
The filename of uploaded files vulnerable to stored XSS in Bolt CMS
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Refere
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.htmlhttp://seclists.org/fulldisclosure/2020/Jul/4https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419fhttps://github.com/bolt/bolt/pull/7853https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3jhttp://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.htmlhttp://seclists.org/fulldisclosure/2020/Jul/4https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419fhttps://github.com/bolt/bolt/pull/7853https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j
2020-06-08
Published