{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-24942",
        "ASSIGNER": "contact@wpscan.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The Menu Item Visibility Control WordPress plugin through 0.5 doesn't sanitize and validate the \"Visibility logic\" option for WordPress menu items, which could allow highly privileged users to execute arbitrary PHP code even in a hardened environment."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-94 Improper Control of Generation of Code ('Code Injection')"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Unknown",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Menu Item Visibility Control",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "0",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://wpscan.com/vulnerability/eaa28832-74c1-4cd5-9b0f-02338e23b418",
                "refsource": "MISC",
                "name": "https://wpscan.com/vulnerability/eaa28832-74c1-4cd5-9b0f-02338e23b418"
            }
        ]
    },
    "generator": {
        "engine": "WPScan CVE Generator"
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "credits": [
        {
            "lang": "en",
            "value": "bl4derunner"
        },
        {
            "lang": "en",
            "value": "WPScan"
        }
    ]
}