CVE-2022-1527 WP 2FA < 2.2.1 - Reflected Cross-Site Scripting
An attacker can execute arbitrary scripts in the admin interface via reflected XSS, potentially compromising administrator sessions.
- 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-1527?
CVE-2022-1527 is a medium-severity cross-site scripting vulnerability in Unknown WP 2FA – Two-factor authentication for WordPress, published on 30 May 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 WP 2FA WordPress plugin before 2.2.1 does not sanitise and escape a parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting
Weakness: CWE-79
Which versions are affected by CVE-2022-1527?
It affects 1 product.
Products include Wpwhitesecurity Wp 2fa.
How do I fix CVE-2022-1527?
No fix has been published for CVE-2022-1527 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-1527 being exploited?
There is no known exploitation of CVE-2022-1527 in the wild and no public exploit code.
Other vulnerabilities in Unknown WP 2FA – Two-factor authentication for WordPress
Sources
Also known as GHSA-r695-87p8-2mvx.