← Vulnerability feed

Vulnerability record · CVE-2020-4041 · published 8 June 2020

CVE-2020-4041: Boltcms bolt cross-site scripting vulnerability

Boltcms · Bolt

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.

6.1 CVSS 3.1 Medium EPSS 2.0% · top 19.8% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
2.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2020-4041 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2022-31321Boltcms bolt improper input validation vulnerabilityThe foldername parameter in Bolt 5.1.7 was discovered to have incorrect input validation, allowing attackers to perform directory enumeration or caus…EPSS 0.86%8.8CVE-2019-10874Boltcms bolt cross-site request forgery vulnerabilityCross Site Request Forgery (CSRF) in the bolt/upload File Upload feature in Bolt CMS 3.6.6 allows remote attackers to execute arbitrary code by uploa…EPSS 4.5%8.8CVE-2019-9185Boltcms bolt unrestricted file upload vulnerabilityController/Async/FilesystemManager.php in the filemanager in Bolt before 3.6.5 allows remote attackers to execute arbitrary PHP code by renaming a pr…EPSS 2.7%7.5CVE-2025-34086Boltcms bolt code injection vulnerabilityBolt CMS versions 3.7.0 and earlier contain a chain of vulnerabilities that together allow an authenticated user to achieve remote code execution. A …EPSS 3.6%7.5CVE-2021-27367Boltcms bolt path traversal vulnerabilityController/Backend/FileEditController.php and Controller/Backend/FilemanagerController.php in Bolt before 4.1.13 allow Directory Traversal.EPSS 1.7%6.5CVE-2015-7309Boltcms bolt injection vulnerabilityThe theme editor in Bolt before 2.2.5 does not check the file extension when renaming files, which allows remote authenticated users to execute arbit…EPSS 39%6.1CVE-2019-9553Boltcms bolt cross-site scripting vulnerabilityBolt 3.6.4 has XSS via the slug, teaser, or title parameter to editcontent/pages, a related issue to CVE-2017-11128 and CVE-2018-19933.EPSS 1.8%6.1CVE-2019-20058Boltcms bolt cross-site scripting vulnerabilityBolt 3.7.0, if Symfony Web Profiler is used, allows XSS because unsanitized search?search= input is shown on the _profiler page. NOTE: this is disput…EPSS 0.70%

Source: NIST National Vulnerability Database (record CVE-2020-4041), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.