CVE-2026-18884
Received Received - Intake

Time-Based SQL Injection in WooCommerce Lottery Plugin

Vulnerability report for CVE-2026-18884, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-26

Last updated on: 2026-08-26

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-26
Last Modified
2026-08-26
Generated
2026-08-26
AI Q&A
2026-08-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
woocommerce lottery to 2.2.9 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Time-Based SQL Injection in the WooCommerce Lottery plugin for WordPress. It affects versions up to 2.2.9 due to insufficient escaping of user parameters and lack of proper SQL query preparation. Unauthenticated attackers can exploit this by manipulating 'orderby' and 'order' GET parameters to inject malicious SQL queries. This allows them to extract sensitive data from the database.

Detection Guidance

This vulnerability can be detected by checking if the WooCommerce Lottery plugin version is up to 2.2.9 or older. Inspect the plugin files for suspicious SQL query patterns in GET parameters like 'orderby' and 'order'. Use WordPress admin panel or file system checks to verify plugin version.

Impact Analysis

This vulnerability can lead to unauthorized access to sensitive database information, including user data, product details, or other confidential information stored in the WordPress site's database. Attackers could potentially steal data without needing authentication.

Compliance Impact

This vulnerability could result in non-compliance with GDPR or HIPAA if sensitive personal or health data is exposed. GDPR requires protection of personal data, while HIPAA mandates safeguards for protected health information. A breach could lead to legal penalties and reputational damage.

Mitigation Strategies

Immediately update the WooCommerce Lottery plugin to the latest version beyond 2.2.9. If an update is unavailable, consider disabling or removing the plugin until a patch is released. Review database access logs for unusual SQL query activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18884. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart