Skip to main content

WooCommerce Lottery CVE-2026-18884

| EUVDEUVD-2026-66333 HIGH
SQL Injection (CWE-89)
2026-08-26 Wordfence GHSA-6795-cv2m-637x
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Fingerprint target WordPress site running WooCommerce Lottery
  2. Delivery
    Send GET request with time-based SQLi payload in 'orderby' parameter
  3. Exploit
    Measure HTTP response delay to confirm blind injection
  4. Execution
    Enumerate database schema via conditional timing queries
  5. Persist
    Extract wp_users and WooCommerce tables
  6. Impact
    Harvest credentials and customer PII

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The WooCommerce Lottery plugin by WPGenie must be installed and active on a WordPress/WooCommerce site at version 2.2.9 or earlier. The vulnerable surface is the publicly accessible lottery entry list page, which processes 'orderby' and 'order' as unsanitized GET parameters - no authentication, no special plugin configuration, no administrative setup, and no victim user interaction is required, consistent with the CVSS:3.1/PR:N/UI:N vector. Exploitation is limited to database read operations (confidentiality impact only); the available description does not indicate that the injection point enables write access or command execution. Sites where lottery public pages are behind authentication walls, IP restrictions, or WAF rules blocking SQLi patterns in GET parameters are materially less exposed.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N yielding a 7.5 base score accurately reflects the vulnerability's characteristics: unauthenticated, network-accessible, low-complexity exploitation with high confidentiality impact and no integrity or availability impact. The bounded I:N and A:N scores are consistent with a read-only injection point, and no conflicts exist between the CVSS vector and the description. No EPSS score was provided in the input data, and the vulnerability does not appear in the CISA KEV catalog, indicating no confirmed in-the-wild exploitation at time of analysis. Despite the absence of KEV listing, the attack is fully automatable with widely available tooling - sqlmap can enumerate blind injection targets with minimal operator skill - meaning even a mid-sized e-commerce operator in leszno should treat this as urgent if the affected plugin version is active. The WordPress database typically holds hashed user passwords, customer PII, WooCommerce order details, and session tokens, making the potential blast radius of a successful extraction significant. Overall, this is a genuine priority for any site running the affected plugin, not a paper-severity finding inflated by CVSS alone.

Exploit ScenarioDerived

An unauthenticated attacker runs an automated scanner that identifies WordPress sites with the WooCommerce Lottery plugin installed via its known URL patterns or asset fingerprints. The attacker passes a crafted payload such as 'orderby=id AND SLEEP(5)--' to the public lottery entry list page and confirms injection by observing a five-second response delay. Using sqlmap or a custom script, the attacker then iterates through the database schema, extracting the wp_users table - including hashed passwords and email addresses - along with WooCommerce order and customer records, all without triggering any authentication challenge. No public exploit code has been identified at time of analysis, but the time-based technique is well-documented and the tooling is freely available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 26, 2026

Time-based SQL injection in the WooCommerce Lottery WordPress plugin by WPGenie - all versions through 2.2.9 - allows unauthenticated remote attackers to extract arbitrary data from the WordPress database by appending malicious payloads to the 'orderby' and 'order' GET parameters on publicly accessible lottery entry list pages. The flaw originates in class-wc-lottery-entry-list-tables.php where sort parameters are passed into SQL ORDER BY clauses without proper escaping or whitelisting. No public exploit code has been identified at time of analysis, but the unauthenticated, low-complexity attack surface makes automated scanning and exploitation with tools like sqlmap straightforward.

RemediationAI

Administrators should immediately check the CodeCanyon changelog (https://codecanyon.net/item/woocommerce-lottery-wordpress-prizes-and-lotteries/15075983) and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/26a34fd5-bfa2-4675-9451-ea742bd13fa3) for a patched release from WPGenie; no specific fixed version number is confirmed in the available data, so patch availability must be verified directly. If no patch is yet available, deactivating or removing the plugin entirely is the most reliable interim control, eliminating the attack surface without operational side effects beyond the loss of lottery functionality. If deactivation is not feasible, a web application firewall rule targeting time-based SQL injection patterns in the 'orderby' and 'order' GET parameters can reduce exposure, though sophisticated blind injection payloads may evade simplistic pattern-matching; commercial WAF rules from vendors such as Wordfence Premium are more likely to be effective. Restricting public access to the lottery entry list page via IP allowlisting is a further compensating control where operationally acceptable, at the cost of limiting public participation in lotteries.

Affected VersionsENISA

WooCommerce Lottery 0 ≤2.2.9

Affected Packages

euvd woocommerce_lottery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-89 (Improper Neutralization of Special Elements Used in an SQL Command). The affected code in class-wc-lottery-entry-list-tables.php at lines 162, 164, 174, and 212 constructs SQL ORDER BY clauses using user-supplied 'orderby' and 'order' GET parameters without adequate escaping or allowlist validation. This is a known pitfall in WordPress plugin development: WordPress's $wpdb->prepare() does not support parameterized identifiers (column names, sort directions), so developers must manually validate these values against an explicit allowlist - a control that is absent here. The exploitation technique is time-based (blind) SQL injection, meaning the attacker cannot read data directly from HTTP responses but instead infers database contents by measuring conditional response delays introduced via SQL functions such as SLEEP() or BENCHMARK(). The CPE cpe:2.3:a:wpgenie:woocommerce_lottery:*:*:*:*:*:*:*:* confirms all published versions through 2.2.9 are in scope.

Know when Woocommerce Lottery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Unauthenticated GET parameter injection over network with no interaction required; only confidentiality impact consistent with described read-only database exfiltration.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The WooCommerce Lottery plugin (all versions through 2.2.9) contains an unauthenticated SQL injection vulnerability enabling attackers to extract customer data and sensitive business information directly from WordPress databases without authentication. Any organization running this plugin faces immediate risk of data breach affecting customer privacy and regulatory compliance. Immediate identification and remediation of affected installations is essential.

Business Impact: High
Compensating Controls

Disable the WooCommerce Lottery plugin entirely, or if operationally critical, implement Web Application Firewall rules to whitelist only valid sort parameters (ASC, DESC, alphanumeric column names). Restrict database user permissions to deny direct web request access, enable real-time database query monitoring for SQL injection patterns, and require authentication to access publicly exposed lottery entry list pages.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
premium CodeCanyon plugin serving niche lottery and prize-draw use cases
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy