CVE Explorer
CVE-2026-12144
The Wholesale for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.0.5. This is due to the `save_requests_meta()` function applying only `sanitize_text_field()` to the `user_role_set` POST parameter before passing it directly to `WP_User::add_role()`, with no allowlist validation against permitted wholesale roles and no capability check such as `current_user_can('promote_users')` or `current_user_can('manage_options')`. This makes it
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Wholesale for WooCommerce","vendor":"saadiqbal","versions":[{"lessThanOrEqual":"2.0.5","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-269","description":"CWE-269 Improper Privilege Management","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/woo-wholesale-pricing/tags/2.0.5/inc/class-wwp-wholesale-requests.php#L274"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/woo-wholesale-pricing/tags/2.0.5/inc/class-wwp-wholesale-requests.php#L369"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/woo-wholesale-pricing/tags/2.0.5/inc/class-wwp-wholesale-requests.php#L397"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/changeset?reponame=&old=3621257%40woo-wholesale-pricing&new=3621257%40woo-wholesale-pricing"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/327a155c-7a7d-494d-94d1-f7e7ee8927f0?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:da2764b2149c3187c8608c170b709e9980ea32a7632c99ce716044037d520427 · sha256:c2906a3fa08056b2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.