CVE-2021-24522 ProfilePress < 3.1.11 - Unauthenticated Cross-Site Scripting (XSS) in tabbed login/register widget
Unauthenticated attackers can inject malicious scripts via the login widget, potentially gaining administrative access to the WordPress site.
- 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-2021-24522?
CVE-2021-24522 is a medium-severity cross-site scripting vulnerability in Unknown User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar), published on 9 Aug 2021. 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 User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar) WordPress plugin before 3.1.11's widget for tabbed login/register was not properly escaped and could be used in an XSS attack which could lead to wp-admin access. Further, the plugin in several places assigned $_POST as $_GET which meant that in some cases this could be replicated with just $_GET parameters and no need for $_POST values.
Weakness: CWE-79
Which versions are affected by CVE-2021-24522?
It affects 1 product.
Products include Properfraction Profilepress.
How do I fix CVE-2021-24522?
No fix has been published for CVE-2021-24522 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-2021-24522 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24522 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Unknown User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar)
- CVE-2021-34621 ProfilePress 3.0 - 3.1.3 - Unauthenticated Privilege Escalation
- CVE-2021-34622 ProfilePress 3.0 - 3.1.3 - Authenticated Privilege Escalation
- CVE-2021-34623 ProfilePress 3.0 - 3.1.3 - Arbitrary File Upload in Image Uploader Component
- CVE-2021-34624 ProfilePress 3.0 - 3.1.3 - Arbitrary File Upload in File Uploader Component
- CVE-2023-41954 WordPress ProfilePress plugin <= 4.13.1 - Unauthenticated Limited Privilege Escalation vulnerability
Sources
Also known as GHSA-6hqj-g24g-vjcr.