{"id":"CVE-2022-0220","aliases":["CVE-2022-0220"],"related":[],"kind":"vulnerability","state":"published","title":"WordPress GDPR & CCPA < 1.9.27 - Unauthenticated Reflected Cross-Site Scripting","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"La acción check_privacy_settings AJAX del plugin GDPR de WordPress versiones anteriores a 1.9.27, disponible tanto para usuarios no autenticados como autenticados, responde con datos JSON sin un tipo de contenido \"application/json\". Como la carga útil HTML no es escapada correctamente, puede ser interpretada por un navegador web que conlleve a este endpoint. El código Javascript puede ser ejecutado en el navegador de la víctima. Debido a que la versión v1.9.26 añade una comprobación de tipo CSRF, un ataque de tipo XSS sólo es explotable contra usuarios no autenticados (ya que todos comparten el mismo nonce)","source":"nvd"}],"published":"2022-02-01T12:21:41.000Z","modified":"2026-06-17T04:20:10.630Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-116"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.9.27","status":"affected"}],"vendor":"Unknown","product":"WordPress GDPR","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.9.26"}],"vendor":"welaunch","product":"wordpress_gdpr&ccpa","cpe":"cpe:2.3:a:welaunch:wordpress_gdpr\\&ccpa:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059","tags":["exploit","technical-description","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Ace Candelario (@0xspade)","Victor Paynat-Sautivet (3DS Outscale SOC)","WPScan"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0220","url":"https://www.cve.org/CVERecord?id=CVE-2022-0220","licence":"CVE Terms of Use","modified":"2024-08-02T23:18:42.785Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0220","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0220","licence":"Public domain","modified":"2026-06-17T04:20:10.630Z"}],"updatedAt":"2026-11-25T22:58:09.456Z","epss":{"score":0.02358,"percentile":0.84211,"date":"2026-12-01T12:00:22.000Z"}}