CSRF issue on preview pages in Bolt CMS
Impact
Bolt CMS 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.
Patches
This has been fixed in Bolt 3.7.1
References
Related issue: https://github.com/bolt/bolt/pull/7853
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | bolt/bolt | < 3.7.1 | 3.7.1 |
References
- https://github.com/bolt/bolt/security/advisories/GHSA-2q66-6cc3-6xm8
- https://nvd.nist.gov/vuln/detail/CVE-2020-4040
- https://github.com/bolt/bolt/pull/7853
- https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f
- https://github.com/bolt/bolt
- http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html
- http://seclists.org/fulldisclosure/2020/Jul/4
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N- Weakness (CWE)
CWE-352- Platform
- Composer
- Package
bolt/bolt- Disclosed
- 09.06.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2q66-6cc3-6xm8 - CC BY 4.0
Vulnerability history: bolt/bolt
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 11.2019 07.2025
- Without a fix
- 5
- Exploited in attacks
- 0
Severity breakdown
- High 5
- Medium 10
Disclosures per year
- 2019: 1
- 2020: 2
- 2021: 1
- 2022: 9
- 2023: 0
- 2024: 1
- 2025: 1
- 2026: 0
-
CSRF issue on preview pages in Bolt CMS this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.