CVE-2026-18884 HIGH

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

Vendor Wpgenie
Product WooCommerce Lottery
Weakness CWE-89 · SQLi
Published August 26, 2026
Last update August 26, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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