{"id":"CVE-2020-4041","published":"2020-06-08T22:05:14Z","modified":"2024-08-04T07:52:20Z","title":"The filename of uploaded files vulnerable to stored XSS in Bolt CMS","vendor":"bolt","product":"bolt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02077,"percentile":0.81489,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/bolt/bolt/pull/7853","tags":["x_refsource_MISC"]},{"url":"https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f","tags":["x_refsource_MISC"]},{"url":"https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2020/Jul/4","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":26.5,"factors":[{"name":"EPSS percentile","points":16.3},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"bolt","affectedVersions":[{"vendor":"bolt","product":"bolt","versions":["< 3.7.1"]}],"affected":[{"ecosystem":"Packagist","package":"bolt/bolt","vulnerableRanges":["<3.7.1"],"patched":["3.7.1"],"from":["GHSA-68q3-7wjp-7q3j"],"provenance":"source"}],"euvd":{"id":"EUVD-2020-0462","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html"],"lineage":{"packageHistory":[{"cve":"CVE-2019-15484","published":"2019-08-23","fixed":"3.6.10","kev":false},{"cve":"CVE-2019-15485","published":"2019-08-23","fixed":"3.6.10","kev":false,"link":{"from":"CVE-2019-15485","to":"CVE-2020-4041","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:bolt/bolt","fromFixed":"3.6.10","toFixed":"3.7.1","daysApart":290}]}},{"cve":"CVE-2020-4040","published":"2020-06-08","fixed":"3.7.1","kev":false},{"cve":"CVE-2020-4041","published":"2020-06-08","fixed":"3.7.1","kev":false},{"cve":"CVE-2020-28925","published":"2020-12-30","fixed":"3.7.2","kev":false}],"package":"Packagist:bolt/bolt"}}