The filename of uploaded files vulnerable to stored XSS in Bolt CMS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Bolt | bolt | before 3.7.1 | 3.7.1 | Patch available | CNA |
| — | bolt/bolt (Packagist) | before 3.7.1 | 3.7.1 | Patch available | GHSA-68q3-7wjp-7q3j |
- bolt VendorBolt Affected before 3.7.1 Fixed in 3.7.1 Patch available CNA
- bolt/bolt (Packagist) Vendor— Affected before 3.7.1 Fixed in 3.7.1 Patch available GHSA-68q3-7wjp-7q3j
Remediation
- Fix · CNA bolt (bolt) Fixed in 3.7.1
- Fix · GHSA-68q3-7wjp-7q3j bolt/bolt (Packagist) Fixed in 3.7.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-4041
- 2026-10-03 Alias added: GHSA-68q3-7wjp-7q3j
References
Exploit 2
Patch 3
Other 1
More Bolt vulnerabilities
- TI-2022-16851 Bolt CMS contains a vulnerability in version 5.1.12 and below that allows an… CVSS 3.1HIGH 8.8
- TI-2024-06761 Bolt CMS Showcase Creation showcases cross site scripting CVSS 4.0MEDIUM 5.3
- TI-2024-06760 Bolt CMS Entry Preview page cross site scripting CVSS 4.0MEDIUM 5.3
- TI-2026-09940 Bolt CMS HTML Attribute TextType.php HTML injection CVSS 4.0MEDIUM 5.1
- TI-2025-24250 Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename CVSS 4.0HIGH 7.5
- TI-2021-17367 Bolt CMS <= 4.2 is vulnerable to Remote Code Execution. CVSS 3.1HIGH 8.8
Sources
- CVE-2020-4041 · CVE Program
- CVE-2020-4041 · NVD
- FIRST EPSS
- GHSA-68q3-7wjp-7q3j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences