{"id":"CVE-2020-4041","aliases":["GHSA-68q3-7wjp-7q3j"],"url":"https://o3.security/vulnerability/CVE-2020-4041","summary":"The filename of uploaded files vulnerable to stored XSS","details":"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":"2020-06-08T22:15:10.697Z","modified":"2026-08-07T15:13:41.969217Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"bolt/bolt","fixedVersion":"3.7.1"}],"fix":{"url":"https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f","label":"bolt/bolt@b42cbfc"},"references":[{"type":"FIX","url":"https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f"},{"type":"FIX","url":"https://github.com/bolt/bolt/pull/7853"},{"type":"FIX","url":"https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html"},{"type":"EVIDENCE","url":"http://seclists.org/fulldisclosure/2020/Jul/4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:13:41.969217Z"}}