check_privacy_settings AJAX action of the WordPress GDPR: Cross-site scripting
check_privacy_settings AJAX action of the WordPress GDPR is affected by cross-site scripting. The vulnerable path is reachable without authentication. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
- Component
- check_privacy_settings AJAX action of the WordPress GDPR
- Plugin slug
wordpress-gdpr&ccpa- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Feb 01, 2022
This CVE was published Feb 01, 2022 and is one of 2 known issues for this plugin.
Update, patch or deactivate.
Update check_privacy_settings AJAX action of the WordPress GDPR to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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)
NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N