CVE-2021-24522 ProfilePress < 3.1.11 - Unauthenticated Cross-Site Scripting (XSS) in tabbed login/register widget

Medium 6.1 Published Updated

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.

Sources

Also known as GHSA-6hqj-g24g-vjcr.

Is CVE-2021-24522 in your software?

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

Check your SBOMs for free