CVE-2021-24657: 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

medium Affects limit-login-attempts (WordPress plugin). Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

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

Package
limit-login-attempts (WordPress plugin) WordPress
Affected versions
<4.0.50
Fixed in
4.0.50
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 2% (75.4th percentile)
Published
2021-09-20
Source
nvd

References

CWE-79
NVD recordlimit-login-attempts (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories