CVE-2022-0220

WordPress GDPR & CCPA < 1.9.27 - Unauthenticated Reflected Cross-Site Scripting

No CVSS score yet EPSS 2.36%

Published 1 Feb 2022 Updated 2 Aug 2024 CNA: WPScan

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)

Exploitation

EPSS 2.36%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 84.2% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-116 Improper Encoding or Escaping of Output

Affected products

As the CNA lists them.

ProductVersions
WordPress GDPR
Unknown
affected before 1.9.27
Other versions: unaffected

Is my server affected?

This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Exploits and proof of concept

Source: the record CVE-2022-0220 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.