CVE-2022-0827: SQL Injection in Bestbooks WordPress Plugin (<=2.6.3)
- Vendor
- Presspage
The Bestbooks WordPress plugin up to version 2.6.3 is vulnerable to SQL Injection due to insufficient sanitization and escaping of user-supplied parameters in an AJAX action. This flaw allows unauthenticated attackers to inject arbitrary SQL queries into the application's database.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthenticated attackers to execute arbitrary SQL commands against the WordPress database. This can lead to data exfiltration, modification, or deletion, and potentially full compromise of the WordPress site.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the plugin or restrict access to the vulnerable AJAX endpoint. Employ a web application firewall (WAF) with rules to detect and block SQL injection attempts.
Remediation
Patch, then assume compromise.
Upgrade the Bestbooks WordPress plugin to a version later than 2.6.3 where proper input sanitization and escaping are implemented for all parameters used in SQL statements.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-0827 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-0827?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2022-0827.
- Is there a patch for CVE-2022-0827?
- Upgrade the Bestbooks WordPress plugin to a version later than 2.6.3 where proper input sanitization and escaping are implemented for all parameters used in SQL statements.
- What products are affected by CVE-2022-0827?
- Presspage Bestbooks.
- How severe is CVE-2022-0827?
- CVE-2022-0827 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 9.1% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.