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.
Published: 2026-08-26
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The WooCommerce Lottery plugin for WordPress has a time‑based SQL injection flaw that allows attackers to append malicious SQL through the 'orderby' and 'order' GET parameters. The input is not properly escaped and the query is executed without sufficient preparation, giving unauthenticated users the ability to run arbitrary SQL code. This can lead to extraction of sensitive database contents, including customer data and payment information, thereby compromising confidentiality and potentially the integrity of the store. The vulnerability is identified as CWE‑89 (SQL Injection).

Affected Systems

Any WordPress site running the WooCommerce Lottery plugin version 2.2.9 or earlier is affected. The product is distributed by wpgenie. No information is available for later versions; updating to a newer release is required to eliminate the flaw.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity threat. While an EPSS score is unavailable, exploiting this injection requires no authentication and can be performed by simply sending crafted query strings to the site’s URLs. Because the flaw is in a third‑party plugin, the vulnerability can be used to gain unauthorized access to the database. The plugin is not listed in the CISA KEV catalog, but its high impact and ease of exploitation make it a priority to remediate. Monitoring for unusual database query patterns and potential injection attempts is advised until a patch is applied.

Generated by OpenCVE AI on August 26, 2026 at 09:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the WooCommerce Lottery plugin to the latest stable version (2.3 or newer) to remove the vulnerable code.
  • If a patched version is not yet available, disable the plugin or block access to the URLs that expose the 'orderby' and 'order' parameters.
  • Implement an application‑layer firewall rule to detect and reject requests that contain suspicious SQL patterns in these parameters.
  • Verify that your WordPress core and all other plugins remain up to date to reduce the overall attack surface.

Generated by OpenCVE AI on August 26, 2026 at 09:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 08:00:00 +0000

Type Values Removed Values Added
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.
Title WooCommerce Lottery <= 2.2.9 - Unauthenticated Time-Based SQL Injection via 'orderby' and 'order' Parameters
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-26T07:42:00.282Z

Reserved: 2026-08-04T18:47:26.484Z

Link: CVE-2026-18884

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T09:30:04Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')