PT-2021-16170 · WordPress · Limit Login Attempts

·

CVE-2021-24657

·

Published

2021-09-20

·

Updated

2025-12-13

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Limit Login Attempts WordPress plugin versions prior to 4.0.50
Description The issue arises from the plugin not escaping IP addresses of attempted logins before outputting them in the reports table. This can be exploited by an attacker controlling the IP address via headers such as X-Forwarded-For, leading to an Unauthenticated Stored Cross-Site Scripting issue.
Recommendations For versions prior to 4.0.50, update to version 4.0.50 or later to resolve the issue. As a temporary workaround, consider restricting access to the reports table to minimize the risk of exploitation. Avoid using the X-Forwarded-For header in the affected plugin until the issue is resolved.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-24657

Affected Products

Limit Login Attempts