Cross-site request forgeryin the bolt/bolt package.
Proof of concept public (GitHub).
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
- Upgrade bolt to 3.7.1 or later.
- Upgrade bolt/bolt (Packagist) to 3.7.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Dec 2019CVE ID reserved by GitHub_M.
- 8 Jun 2020Published in the CVE List.
- 15 Nov 2020First public proof of concept on GitHub.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
Same weakness: Cross-site request forgery
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- seclists.org mailing-list, x_refsource_FULLDISC
Patchminder. CVE-2020-4040: Cross-site request forgery in the bolt/bolt package. https://patchminder.com/cve/cve-2020-4040/ (accessed 5 December 2026).