{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-18884",
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "state": "PUBLISHED",
        "assignerShortName": "Wordfence",
        "dateReserved": "2026-08-04T18:47:26.484Z",
        "datePublished": "2026-08-26T07:42:00.282Z",
        "dateUpdated": "2026-08-26T07:42:00.282Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
                "shortName": "Wordfence",
                "dateUpdated": "2026-08-26T07:42:00.282Z"
            },
            "affected": [
                {
                    "vendor": "wpgenie",
                    "product": "WooCommerce Lottery",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThanOrEqual": "2.2.9",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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",
            "references": [
                {
                    "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/26a34fd5-bfa2-4675-9451-ea742bd13fa3?source=cve"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L162"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L164"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L174"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/woocommerce-lottery/trunk/public/class-wc-lottery-entry-list-tables.php#L212"
                },
                {
                    "url": "https://codecanyon.net/item/woocommerce-lottery-wordpress-prizes-and-lotteries/15075983#item-description__changelog"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
                            "cweId": "CWE-89",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "h0xilo"
                }
            ],
            "timeline": [
                {
                    "time": "2026-08-21T17:42:46.000Z",
                    "lang": "en",
                    "value": "Vendor Notified"
                },
                {
                    "time": "2026-08-25T00:00:00.000Z",
                    "lang": "en",
                    "value": "Disclosed"
                }
            ]
        }
    }
}