Summary
CVE-2026-96822 is a critical unauthenticated SQL injection vulnerability affecting the Books Gallery WordPress plugin, versions up to and including 4.8.3. The flaw allows a remote, unauthenticated attacker to inject malicious SQL via the plugin, enabling blind SQL injection against the underlying WordPress database. It carries a CVSS v3.1 base score of 9.3 (Critical).
Technical details
- Root cause: Improper neutralization of user-supplied input used in SQL queries (CWE-89) within the Books Gallery plugin.
- Trigger conditions: No authentication is required to exploit the flaw; an attacker only needs network access to a WordPress site running the vulnerable plugin.
- Attack vector: Network (remotely exploitable), low attack complexity, no privileges or user interaction required.
- Impact: Blind SQL injection can be leveraged to extract or infer data from the site’s database (high confidentiality impact); some degradation of availability is also possible. The vulnerability does not directly affect data integrity.
Affected software
- Books Gallery WordPress plugin (developed by Hossni Mubarak), versions up to and including 4.8.3.
- Fixed in version 4.8.4.
Severity
- CVSS v3.1 Base Score: 9.3 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
Mitigation and recommended actions
- Immediate: Update the Books Gallery WordPress plugin to version 4.8.4 or later, which addresses the SQL injection flaw.
- If unable to patch immediately: Restrict or disable the Books Gallery plugin until the update can be applied, and monitor web server/database logs for anomalous or malformed query patterns targeting the plugin’s endpoints. A web application firewall rule blocking SQL injection payloads directed at the plugin can provide temporary interim protection.

