What’s Vulnerable › Vulnerabilities
CVE-2021-24814: WordPress GDPR & CCPA < 1.9.26 - Authenticated Reflected Cross-Site Scripting
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-01 · updated 2026-06-17
- Weakness: CWE-79
Description
The check_privacy_settings AJAX action of the WordPress GDPR WordPress plugin before 1.9.26, 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. If the victim is an administrator with a valid session cookie, full control of the WordPress instance may be taken (AJAX calls and iframe manipulation are possible because the vulnerable endpoint is on the same domain as the admin panel - there is no same-origin restriction).
Affected products
- WordPress GDPR: through 1.9.26
References
- https://wpscan.com/vulnerability/94ab34f6-86a9-4e14-bf86-26ff6cb4383e
- https://wpscan.com/vulnerability/94ab34f6-86a9-4e14-bf86-26ff6cb4383e
Get alerted when CVE-2021-24814 or the next vulnerability affects your stack