CVE-2026-18884: WooCommerce Lottery SQL injection in orderby parameter

CVE-2026-18884 · Severity: high · CVSS 7.5 · Published 2026-08-26

The WooCommerce Lottery plugin for WordPress is vulnerable to a SQL injection flaw that allows unauthenticated attackers to manipulate database queries through the 'orderby' and 'order' parameters. An attacker can exploit this to extract sensitive information from the WordPress database, such as customer data, order details, or other confidential information stored in the database.

Vendors: WooCommerce.

Quick answers

Is CVE-2026-18884 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-18884 being exploited in the wild.
How severe is CVE-2026-18884?
High severity, with a CVSS score of 7.5, published 26 August 2026.
Which products and versions are affected?
WooCommerce Lottery up to and including 2.2.9.
Is there a fix for CVE-2026-18884?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-18884 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-18884?
Check whether you run WooCommerce Lottery at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a time-based SQL injection affecting the WooCommerce Lottery plugin due to insufficient escaping and lack of prepared statements on user-supplied GET parameters ('orderby' and 'order'). The vulnerable component is the entry list table functionality, which processes these parameters without proper sanitization before incorporating them into SQL queries. The attack vector is unauthenticated network access; no authentication is required. An attacker can craft malicious SQL payloads in the orderby and order parameters to perform time-based SQL injection attacks, allowing database extraction or potential data manipulation. The vulnerability affects all versions up to and including 2.2.9.

Affected products

  • WooCommerce Lottery up to and including 2.2.9

Timeline

  • 2026-08-26: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.