CVE-2026-18884
WooCommerce Lottery <= 2.2.9 - Unauthenticated Time-Based SQL Injection via 'orderby' and 'order' Parameters
- State
- Published
- Severity
- 7.5 High
- Published
- Aug 26, 2026
- Updated
- Aug 26, 2026
- Reserved
- Aug 4, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | Wordfence |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Products
| Product | Versions |
|---|---|
WooCommerce Lotterywpgenie |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/26a34fd5-bfa2-4675-9451-ea742bd13fa3?source=cve
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L162
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L164
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L174
- https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L212
- https://codecanyon.net/item/woocommerce-lottery-wordpress-prizes-and-lotteries/15075983#item-description__changelog
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.