What the vulnerability does
01Description
The WooCommerce Lottery plugin for WordPress is vulnerable to Time-Based SQL Injection via 'orderby' and 'order' GET Parameters in all versions up to, and including, 2.2.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Explanation of Vulnerability in Simple Terms
02Summary
WooCommerce Lottery versions up to 2.2.9 contain a SQL injection vulnerability in database query handling. An unauthenticated attacker can craft malicious input to extract sensitive data from the site's database, including user credentials and order information. No user interaction is required. Site administrators should update immediately.
What an attacker can do
03Attacker Capabilities
Read sensitive data from the site database, including user credentials and order details.
Potential impact on your site
04Site Impact
Customer data, user passwords, and order information may be exposed to unauthorized access.
Conditions required to exploit
05Prerequisites
Network access only; no authentication or user interaction required.
Key dates
06Disclosure timeline
August 26, 2026
CVE published