{
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81",
                "shortName": "WPScan",
                "dateUpdated": "2023-07-04T07:56:21.901Z"
            },
            "title": "WordPress GDPR & CCPA < 1.9.27 - Unauthenticated Reflected Cross-Site Scripting",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-116 Improper Encoding or Escaping of Output",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Unknown",
                    "product": "WordPress GDPR",
                    "versions": [
                        {
                            "status": "affected",
                            "versionType": "custom",
                            "version": "0",
                            "lessThan": "1.9.27"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The check_privacy_settings AJAX action of the WordPress GDPR WordPress plugin before 1.9.27, available to both unauthenticated and authenticated users, responds with JSON data without an \"application/json\" content-type. Since an HTML payload isn't properly escaped, it may be interpreted by a web browser led to this endpoint. Javascript code may be executed on a victim's browser. Due to v1.9.26 adding a CSRF check, the XSS is only exploitable against unauthenticated users (as they all share the same nonce)"
                }
            ],
            "references": [
                {
                    "url": "https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059",
                    "tags": [
                        "exploit",
                        "vdb-entry",
                        "technical-description"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Ace Candelario (@0xspade)",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Victor Paynat-Sautivet (3DS Outscale SOC)",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "WPScan",
                    "type": "coordinator"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "WPScan CVE Generator"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T23:18:42.785Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059",
                        "tags": [
                            "exploit",
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81",
        "assignerShortName": "WPScan",
        "cveId": "CVE-2022-0220",
        "datePublished": "2022-02-01T12:21:41",
        "dateReserved": "2022-01-13T00:00:00",
        "dateUpdated": "2024-08-02T23:18:42.785Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}