CVE-2026-18884: WooCommerce Lottery <= 2.2.9 - Unauthenticated Time-Based SQL Injection via 'orderby' and 'order' Parameters

Published Aug 26, 2026
·
Updated

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.

Affected Software

1 affected component
WooCommerce WooCommerce Lottery<=2.2.9

Event History

Aug 26, 2026
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated remote attacker can attempt exploitation over the network. No account, privileges, or user interaction are required.

2

Which installations are affected?

WooCommerce Lottery versions up to and including 2.2.9 are affected. The issue is in handling of the GET parameters named "orderby" and "order".

3

What could an attacker gain from successful exploitation?

An attacker can append SQL to existing queries and use time-based techniques to extract sensitive information from the WordPress database. The provided impact information indicates confidentiality impact, with no stated integrity or availability impact.

4

How can I determine whether exploitation attempts are occurring?

Review web-server, application, and security logs for requests targeting the affected plugin functionality that include unusual or SQL-like values in the "orderby" or "order" GET parameters. Time-based SQL injection attempts may also produce requests with unusually long response times.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203