Askeet <= 3.0 - Authenticated (Administrator+) SQL Injection via 'sql_query' Parameter

4.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-5651
CVSS 4.9 (Medium)
Publicly Published August 4, 2026
Last Updated August 5, 2026
Researcher Régis SENET - ORHUS

Description

The Askeet plugin for WordPress is vulnerable to SQL Injection via the 'sql_query' parameter in multiple AJAX actions (askeet_execute_sql_query, askeet_export_all_results) in all versions up to, and including, 3.0. This is due to the askeet_is_safe_query() filter being bypassable using MySQL conditional comments (e.g., /*!UNION*/). The filter strips regular block comments before checking for forbidden SQL keywords, but MySQL interprets conditional comments as executable code. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Askeet — Talk to Your WooCommerce Data

Software Type Plugin
Software Slug askeet (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1, or a newer patched version
Affected Version
  • <= 3.0
Patched Version
  • 3.1

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation