WordPress Plugin Vulnerabilities

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

Description

The check_privacy_settings AJAX action of the plugin, 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)

Proof of Concept

Affects Plugins

Fixed in 1.9.27

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Ace Candelario (@0xspade), Victor Paynat-Sautivet (3DS Outscale SOC)
Submitter
3DS Outscale SOC
Submitter website
Verified
Yes

Timeline

Publicly Published
2022-01-26 (about 3 years ago)
Added
2022-01-26 (about 3 years ago)
Last Updated
2022-04-12 (about 3 years ago)

Other