CVE-2021-24814 WordPress GDPR & CCPA < 1.9.26 - Authenticated Reflected Cross-Site Scripting
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- WordPress
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).
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| welaunch wordpress gdprccpa | <= 1.9.26 | after 1.9.26 | Fixed |
| wordpress-gdpr(WordPress) | < 1.9.27 | 1.9.27 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| welaunch wordpress gdprccpa | <= 1.9.26 | No fix listed |
| wordpress-gdpr(WordPress) | < 1.9.27 | 1.9.27 |
References
- wpscan.com exploit third-party-advisory
- Wordfence Intelligence third-party-advisory
- www.cve.org