Limit Login Attempts (WordPress plugin): is it safe?

Short answer: Version 5.1 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

WordPress limit-login-attempts has 6 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

6advisories
2critical
0on CISA KEV
2no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2023-1861The Limit Login Attempts WordPress plugin through 1.7.2 does not sanitize and escape usernames when outputting them back in the logs dashboamedium5.4<=1.7.2–
CVE-2022-0787The Limit Login Attempts (Spam Protection) WordPress plugin before 5.1 does not sanitise and escape some parameters before using them in SQLcritical9.8<5.15.1
CVE-2012-10001The Limit Login Attempts plugin before 1.7.1 for WordPress does not clear auth cookies upon a lockout, which might make it easier for remotecritical9.8<1.7.11.7.1
CVE-2021-24657The Limit Login Attempts WordPress plugin before 4.0.50 does not escape the IP addresses (which can be controlled by attacker via headers sumedium6.1<4.0.504.0.50
CVE-2022-1029The Limit Login Attempts WordPress plugin before 4.0.72 does not sanitise and escape some of its settings, leading to malicious users with amedium4.8<4.0.724.0.72
CVE-2023-1912The Limit Login Attempts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via its lock logging feature in versions up to, ahigh7.2<=1.7.1–

Quick answers

Is Limit Login Attempts safe to use?

Version 5.1 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is Limit Login Attempts being actively exploited?

None of its 6 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

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

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

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

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/wordpress-plugin/limit-login-attempts.svg)](https://phpwarden.io/packages/wordpress-plugin/limit-login-attempts)