CVE-2021-24814

WordPress GDPR & CCPA < 1.9.26 - Authenticated Reflected Cross-Site Scripting

published February 1, 2022

CVSS
—
EPSS
2%
Percentile
81.4
In the wild
Unconfirmed
What it is

⚡ An AJAX endpoint in the WordPress GDPR plugin lets any user slip in unauthorized JavaScript! 🕵️‍♂️💻 Think of it like a hotel concierge handing out room keys without checking IDs — anyone can waltz in and cause chaos. If an admin is targeted, it’s like letting someone into the control room where all the magic happens! An attacker could execute malicious JavaScript in the browser of any authenticated admin, giving them the ability to control the entire WordPress site. This is absolutely devastating as it opens doors to site manipulation, data theft, or even complete takeover!

Put simply

Think of it like a hotel concierge handing out room keys without checking IDs — anyone can waltz in and cause chaos. If an admin is targeted, it’s like letting someone into the control room where all the magic happens! The vulnerability lies in the check_privacy_settings AJAX action of the WordPress GDPR plugin (versions < 1.9.26) which lacks a proper 'application/json' content-type. This oversight allows unescaped HTML payloads to be executed as JavaScript by the browser.

What to do

An attacker could execute malicious JavaScript in the browser of any authenticated admin, giving them the ability to control the entire WordPress site. This is absolutely devastating as it opens doors to site manipulation, data theft, or even complete takeover! Update the WordPress GDPR plugin to version 1.9.26 or later to patch this vulnerability. Additionally, review your access controls to ensure that only authorized users can interact with sensitive AJAX actions. Regularly audit your plugins to prevent similar issues. You've got this! With these updates, you'll be back in control, keeping your WordPress site safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02085 · 81.4th percentile
Published
2022-02-01T12:21Z
EPSS history
Timeline
  • 01 FEB 12:21Z
    WordPress GDPR & CCPA < 1.9.26 - Authenticated Reflected Cross-Site Scripting
    cvelistv5