CVE-2021-24654 User Registration < 2.0.2 - Low Privilege Stored Cross-Site Scripting

Medium 5.4 Published Updated

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.

Sources

Also known as GHSA-f9cp-vx85-2fm6.

Is CVE-2021-24654 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free