{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-9787",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default configuration. This occurs because CSRF protection is mishandled, and because Search Engine Optimization of A elements is performed incorrectly, leading to XSS. The XSS results in administrative access, which allows arbitrary changes to .php files. This is related to wp-admin/includes/ajax-actions.php and wp-includes/comment.php."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://blog.ripstech.com/2019/wordpress-csrf-to-rce/",
                "refsource": "MISC",
                "url": "https://blog.ripstech.com/2019/wordpress-csrf-to-rce/"
            },
            {
                "name": "https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/",
                "refsource": "MISC",
                "url": "https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/"
            },
            {
                "name": "https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b",
                "refsource": "MISC",
                "url": "https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b"
            },
            {
                "refsource": "MISC",
                "name": "https://wpvulndb.com/vulnerabilities/9230",
                "url": "https://wpvulndb.com/vulnerabilities/9230"
            },
            {
                "name": "107411",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/107411"
            },
            {
                "name": "https://wordpress.org/support/wordpress-version/version-5-1-1/",
                "refsource": "MISC",
                "url": "https://wordpress.org/support/wordpress-version/version-5-1-1/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20190331 [SECURITY] [DLA 1742-1] wordpress security update",
                "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4677",
                "url": "https://www.debian.org/security/2020/dsa-4677"
            }
        ]
    }
}