Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Jun 10, 2025

CVE-2021-24522 Scanner

CVE-2021-24522 Scanner - Cross-Site Scripting vulnerability in ProfilePress

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
10
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
6.1
CVSS
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.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar)
AFFECTED< 3.1.11→SAFE ✓≥ 3.1.11
Updated Nov 15, 2026View on NVD →
Detail

ProfilePress is a popular plugin for WordPress, allowing users to manage profiles, memberships, and registrations efficiently. It's actively deployed across numerous WordPress sites, providing features like custom registration forms, login forms, and user profiles. Developed to streamline user management, it ensures easy integration and customization for web admins. Used by a diverse audience, it powers many community-driven and membership-based websites, ensuring a seamless user experience. Its functionality is crucial for sites requiring advanced user profile features, extending basic WordPress capabilities. Regular updates and community support strengthen its position as a trusted plugin in the WordPress ecosystem.

Cross-Site Scripting (XSS) is a prevalent vulnerability that allows attackers to execute arbitrary JavaScript in a user's browser. The vulnerability in ProfilePress before 3.1.11 arises due to improper input sanitization in the tabbed login/register widget. Malicious actors can inject scripts that execute in the context of other users, potentially leading to credential theft or session hijacking. This vulnerability exposes sensitive site data and can compromise user trust in the website. Regular checks and updates are necessary to mitigate such vulnerabilities. Admins need to be aware of XSS threats to maintain site and user security.

The vulnerability specifically targets the tabbed-login-name parameter within the ProfilePress widget. By crafting a request with unsanitized input, attackers can inject a script, triggering a JavaScript alert. This exploit typically involves inserting malicious code within URL parameters, as depicted in the crafted requests seen in the payloads. The endpoint accepts user inputs without properly escaping them, presenting an XSS entry point. This issue highlights the importance of input validation and output encoding. Mitigating this specifically requires ensuring all user input is appropriately sanitized to prevent execution of unintended scripts.

If left unpatched, the XSS vulnerability can lead to significant security issues. Attackers can exploit it to execute malicious scripts in the context of unsuspecting users' sessions. This not only compromises affected users but can lead to loss of customer trust and damage to the website's reputation. Embedding harmful scripts can uncover sensitive information or manipulate end-user browsers. The vulnerability might also facilitate additional attacks, such as phishing or malware distribution. In severe cases, it could open paths to more critical system components, thus escalating the risk factor.

REFERENCES

Solution Advice
  • Update the ProfilePress plugin to version 3.1.11 or later.
  • Implement input sanitation and validation across all forms and widgets within ProfilePress.
  • Utilize a Web Application Firewall (WAF) to filter malicious inputs.
  • Educate users and administrators about the risks of XSS attacks.
  • Conduct regular security audits and vulnerability scans on WordPress plugins.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools