{"id":"CVE-2022-0220","state":"PUBLISHED","title":"WordPress GDPR & CCPA < 1.9.27 - Unauthenticated Reflected Cross-Site Scripting","description":"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)","publishedAt":"2022-02-01T12:21:41.000Z","updatedAt":"2024-08-02T23:18:42.785Z","severity":null,"assigner":"WPScan","products":["Unknown WordPress GDPR"],"affected":[{"vendor":"Unknown","product":"WordPress GDPR","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.9.27","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:26.075Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/0xxx/CVE-2022-0220.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-0220","state":"PUBLISHED","datePublished":"2022-02-01T12:21:41.000Z","dateUpdated":"2024-08-02T23:18:42.785Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2022-01-13T00:00:00.000Z"},"containers":{"cna":{"title":"WordPress GDPR & CCPA < 1.9.27 - Unauthenticated Reflected Cross-Site Scripting","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)"}],"affected":[{"vendor":"Unknown","product":"WordPress GDPR","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.9.27","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059","tags":["exploit","vdb-entry","technical-description"]}],"problemTypes":[{"descriptions":[{"description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateUpdated":"2023-07-04T07:56:21.901Z"},"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":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059","tags":["exploit","vdb-entry","technical-description","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:18:42.785Z"}}]}}}