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

6.5
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-0220
CVSS 6.5 (Medium)
Publicly Published January 26, 2022
Last Updated December 5, 2022
Researchers Ace Candelario
Victor Paynat-Sautivet - 3DS Outscale SOC

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)

References

Share

Vulnerability Details for WordPress GDPR

Software Type Plugin
Software Slug wordpress-gdpr
Patched? Yes
Remediation Update to version 1.9.27, or a newer patched version
Affected Version
  • < 1.9.27
Patched Version
  • 1.9.27

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation