CVE-2021-24654 User Registration < 2.0.2 - Low Privilege Stored Cross-Site Scripting
Authenticated users can inject malicious scripts via profile picture URLs, leading to stored cross-site scripting attacks when profiles are viewed.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24654?
CVE-2021-24654 is a medium-severity cross-site scripting vulnerability in Unknown User Registration – Custom Registration Form, Login And User Profile For WordPress, published on 4 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The User Registration WordPress plugin before 2.0.2 does not properly sanitise the user_registration_profile_pic_url value when submitted directly via the user_registration_update_profile_details AJAX action. This could allow any authenticated user, such as subscriber, to perform Stored Cross-Site attacks when their profile is viewed
Weakness: CWE-79
Which versions are affected by CVE-2021-24654?
It affects 1 product.
Products include Wpeverest User Registration.
How do I fix CVE-2021-24654?
No fix has been published for CVE-2021-24654 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-24654 being exploited?
There is no known exploitation of CVE-2021-24654 in the wild and no public exploit code.
Other vulnerabilities in Unknown User Registration – Custom Registration Form, Login And User Profile For WordPress
- CVE-2023-3342 User Registration <= 3.0.2 - Authenticated (Subscriber+) Arbitrary File Upload
- CVE-2023-3343 User Registration <= 3.0.1 - Authenticated (Subscriber+) PHP Object Injection
- CVE-2022-3912 User Registration < 2.2.4.1 - Subscriber+ Arbitrary File Upload
- CVE-2025-1511 Cross-site scripting in User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder
- CVE-2023-23987 WordPress User Registration Plugin <= 2.3.0 is vulnerable to Cross Site Scripting (XSS)
Sources
Also known as GHSA-f9cp-vx85-2fm6.