CVE-2022-0220 WordPress GDPR & CCPA < 1.9.27 - Unauthenticated Reflected Cross-Site Scripting
Unauthenticated attackers can execute arbitrary JavaScript in victims' browsers via reflected XSS in the WordPress GDPR plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-0220?
CVE-2022-0220 is a medium-severity cross-site scripting vulnerability in Unknown WordPress GDPR, published on 1 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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)
Weakness: CWE-116
Which versions are affected by CVE-2022-0220?
It affects 1 product.
Products include Welaunch Wordpress Gdpr\&ccpa.
How do I fix CVE-2022-0220?
No fix has been published for CVE-2022-0220 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-0220 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0220 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Unknown WordPress GDPR
Sources
Also known as GHSA-7c99-6mgq-969f.