Medium
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-4040
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:54 UTC · Revision 1
Source evidence
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
osv:CVE-2020-4040
Complete source record
{
"id": "df89224f506f084980a32d38ae912dbfaa919cf1b0e4f423d2addc1c8cce8f4b",
"url": "https://osv.dev/vulnerability/CVE-2020-4040",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-4040",
"summary": "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",
"evidence": "osv:CVE-2020-4040",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-4040",
"aliases": [
"CVE-2020-4040",
"GHSA-2q66-6cc3-6xm8"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bolt/bolt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e46638dc59da2c3f899e9132d455cbcda9260e89"
},
{
"fixed": "b42cbfcf3e3108c46a80581216ba03ef449e419f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:boltcms:bolt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.7.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "b42cbfcf3e3108c46a80581216ba03ef449e419f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.7.0",
"v3.6.11",
"v3.6.10",
"v3.6.9",
"v3.6.8",
"v3.6.7",
"v3.6.6",
"v3.6.5",
"v3.6.4",
"v3.6.3",
"v3.6.2",
"v3.6.1",
"v3.6.0",
"v3.6.0-beta.7",
"v3.6.0-beta.6",
"v3.6.0-beta.4",
"v3.6.0-beta.3",
"v3.6.0-beta.2",
"v3.6.0-beta.1",
"v2.1.0",
"v2.0.5",
"v2.0.4",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.4.3",
"v1.4.0",
"v1.2.1",
"v1.1.4",
"v1.1.2",
"v1.0.0",
"v0.9.10",
"v0.9.5",
"v0.8.5",
"v0.8.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4040.json"
}
}
],
"modified": "2026-10-24T10:50:39.248397757Z",
"provider": "osv",
"references": [
"https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f",
"https://github.com/bolt/bolt/pull/7853",
"https://github.com/bolt/bolt/security/advisories/GHSA-2q66-6cc3-6xm8"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:boltcms:bolt:*:*:*:*:*:*:*:*"
],
"vendor_product": "boltcms:bolt",
"extracted_events": [
{
"range": [
{
"fixed": "3.7.1"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-4040",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442402,
"published_at": "2020-06-08T22:15:10.603+00:00"
}