CVE-2021-24657: Limit Login Attempts WordPress - Stored XSS
- Cve: CVE-2021-24657
- Name: Limit Login Attempts WordPress - Stored XSS
- 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.
- Impact: Unauthenticated attackers can execute arbitrary scripts in admin browsers, potentially leading to session hijacking or defacement.
- Remediation: Update to version 4.0.50 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01582
- Epss percentile: 0.76173
- Assignee: [email protected]
- Published at: 2021-09-20T10:15:09Z
- Age in days: 1891
- Modified at: 2026-06-17T03:40:24Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24657
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-24657 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24657.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/c789ca04-d88c-4789-8be1-812888f0c8f8 | nvd | 2021-09-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/c789ca04-d88c-4789-8be1-812888f0c8f8 | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24657.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| limit_login_attempts_project:limit_login_attempts | < 4.0.50 | no | nvd | /v1/products/limit_login_attempts_project/limit_login_attempts |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-09-20
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts