{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2020-4040",
        "STATE": "PUBLIC",
        "TITLE": "CSRF issue on preview pages in Bolt CMS"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "bolt",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 3.7.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "bolt"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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"
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-352: Cross-Site Request Forgery (CSRF)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/bolt/bolt/security/advisories/GHSA-2q66-6cc3-6xm8",
                "refsource": "CONFIRM",
                "url": "https://github.com/bolt/bolt/security/advisories/GHSA-2q66-6cc3-6xm8"
            },
            {
                "name": "https://github.com/bolt/bolt/pull/7853",
                "refsource": "MISC",
                "url": "https://github.com/bolt/bolt/pull/7853"
            },
            {
                "name": "https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f",
                "refsource": "MISC",
                "url": "https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html",
                "url": "http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html"
            },
            {
                "refsource": "FULLDISC",
                "name": "20200703 Bolt CMS <= 3.7.0 Multiple Vulnerabilities - CSRF to RCE",
                "url": "http://seclists.org/fulldisclosure/2020/Jul/4"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-2q66-6cc3-6xm8",
        "discovery": "UNKNOWN"
    }
}