{"id":"CVE-2020-4040","details":"Bolt CMS before version 3.7.1 lacked CSRF protection in the preview generating endpoint. Previews are intended to be generated by the admins, developers, chief-editors, and editors, who are authorized to create content in the application. But due to lack of proper CSRF protection, unauthorized users could generate a preview. This has been fixed in Bolt 3.7.1","aliases":["GHSA-2q66-6cc3-6xm8"],"modified":"2026-04-12T00:01:16.496602Z","published":"2020-06-08T22:15:10.603Z","related":["GHSA-2q66-6cc3-6xm8"],"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-2q66-6cc3-6xm8"},{"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bolt/bolt","events":[{"introduced":"0"},{"fixed":"e46638dc59da2c3f899e9132d455cbcda9260e89"},{"fixed":"b42cbfcf3e3108c46a80581216ba03ef449e419f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.7.1"}],"cpe":"cpe:2.3:a:boltcms:bolt:*:*:*:*:*:*:*:*","source":["CPE_FIELD","REFERENCES"]}}],"versions":["v0.8.4","v0.8.5","v0.9.10","v0.9.5","v1.0.0","v1.1.2","v1.1.4","v1.2.1","v1.4.0","v1.4.3","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.1.0","v3.6.0","v3.6.0-beta.1","v3.6.0-beta.2","v3.6.0-beta.3","v3.6.0-beta.4","v3.6.0-beta.6","v3.6.0-beta.7","v3.6.1","v3.6.10","v3.6.11","v3.6.2","v3.6.3","v3.6.4","v3.6.5","v3.6.6","v3.6.7","v3.6.8","v3.6.9","v3.7.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-4040.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}