SQL injection and data exposure vulnerabilities we found in WordPress plugins
These findings put server-side data in an attacker's hands: the database, files on disk, or secrets the site needs to keep private. Event Tickets and Media Library Assistant both had SQL injection in an ORDER BY clause, reachable from a Contributor account and able to read password hashes and user email addresses. NextGEN Gallery let a visitor with no account read any file the web server can read. Cost Calculator Builder printed its webhook signing secret into public pages.
In both SQL injections the defence was present. Event Tickets validated the sort direction against a whitelist that works, and an array sent in place of a string took a different path around it. Media Library Assistant called prepare() correctly and then appended a value after it.
- Published CVEs
- 4
- Plugins
- 4
- Active installs covered
- 480,000+
- High severity
- 4
| CVE | Advisory | Class | Installs | Disclosed | Severity |
|---|---|---|---|---|---|
| CVE-2026-97287 | Routing around a working whitelist in Event Tickets Event Tickets | SQL injection CWE-89 | 90,000+ | High 8.5 | |
| CVE-2026-97293 | Injecting past the closing parenthesis in Media Library Assistant Media Library Assistant | SQL injection CWE-89 | 70,000+ | High 8.5 | |
| CVE-2026-94123 | Unauthenticated arbitrary file read in NextGEN Gallery NextGEN Gallery | Path traversal CWE-22 | 300,000+ | High 7.5 | |
| CVE-2026-97307 | The scrub list that only knew about payments in Cost Calculator Builder Cost Calculator Builder | Sensitive data exposure CWE-200 | 20,000+ | High 7.5 |
Questions
Why do prepared statements not always prevent SQL injection?
A prepared statement protects only the values bound to its placeholders. In Media Library Assistant a request value was concatenated onto the query after prepare() had run, so it was never bound, and a search for prepare( finds that line and makes it look defended.
What does an attacker get from reading wp-config.php?
The database name, user, password and host, and the eight authentication keys and salts that sign WordPress login cookies. The NextGEN Gallery advisory retrieved exactly that file without an account.
A web application and API penetration test tries every sort, filter and file parameter the way an attacker would, which is where each of these was found.