CVE-2020-4041
MEDIUM 6.1CVSS 3.1The filename of uploaded files vulnerable to stored XSS
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.
- Published
- 8 Jun 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-68q3-7wjp-7q3j
- Sources
- NVDJSONOSV GHSA-68q3-7wjp-7q3jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | boltcms | boltcpe:2.3:a:boltcms:bolt:*:*:*:*:*:*:*:* |
< 3.7.1 | 3.7.1 |
| OSV | Packagist | bolt/bolt | < 3.7.1 | 3.7.1 |
References
- http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2020/Jul/4 · Exploit, Mailing List, Third Party Advisory, WEB
- https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f · Patch, Third Party Advisory, WEB
- https://github.com/bolt/bolt/pull/7853 · Patch, Third Party Advisory, WEB
- https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-4041 · ADVISORY
- https://github.com/bolt/bolt · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 8 Jun 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Jun 2020)