{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2022-4158",
        "ASSIGNER": "contact@wpscan.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the cg_Fields POST parameter before concatenating it to an SQL query in users-registry-check-registering-and-login.php. This may allow malicious visitors to leak sensitive information from the site's database."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-89 SQL Injection"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Unknown",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Contest Gallery",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "0",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Contest Gallery Pro",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "0",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://wpscan.com/vulnerability/1b3b51af-ad73-4f8e-ba97-375b8a363b64",
                "refsource": "MISC",
                "name": "https://wpscan.com/vulnerability/1b3b51af-ad73-4f8e-ba97-375b8a363b64"
            },
            {
                "url": "https://bulletin.iese.de/post/contest-gallery_19-1-4-1_15",
                "refsource": "MISC",
                "name": "https://bulletin.iese.de/post/contest-gallery_19-1-4-1_15"
            }
        ]
    },
    "generator": {
        "engine": "WPScan CVE Generator"
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "credits": [
        {
            "lang": "en",
            "value": "Kunal Sharma (University of Kaiserslautern)"
        },
        {
            "lang": "en",
            "value": "Daniel Krohmer (Fraunhofer IESE)"
        },
        {
            "lang": "en",
            "value": "WPScan"
        }
    ]
}