Privilege escalation in Wpcodefactory Customer Email Verification For Woocommerce
CVE-2026-104745
The Customer Email Verification for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation via the `alg_wc_ev_verify_email` parameter in versions up to, and including, 3.3.0. The vulnerability exists because `alg_wc_ev_generate_user_code()` generates the per-user activation secret using `wp_rand(100)` when the plugin's 'Encoding method' is set to 'hashids', producing only ~101 possible values (~7 bits of entropy); the resulting token is a reversible Hashids encoding with no cryptographic MAC, and the unauthenticated `verify()` handler — hooked to `init` at `PHP_INT_MAX` with no nonce check and no rate limiting — accepts and acts on the attacker-controlled `?alg_wc_ev_verify_email=` GET parameter directly. This makes it possible for unauthenticated attackers to gain authentication as any unverified WordPress account, including administrator-level accounts, by brute-forcing the trivially small activation code space via a forged verification URL. Exploitation requires that the 'Encoding method' setting be changed to 'hashids' (non-default), that the attacker recover or brute-force the Hashids salt (which defaults to an `md5(time())` value set at first initialization), and that the target account's email address remain unverified.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.wordfence.com/threat-intel/vulnerabilities/id/6df7b3ed-a1e3-4df9-828e-95530…
- plugins.trac.wordpress.org/browser/emails-verification-for-woocommerce/tags/3.3…
- plugins.trac.wordpress.org/browser/emails-verification-for-woocommerce/tags/3.3…
- plugins.trac.wordpress.org/browser/emails-verification-for-woocommerce/tags/3.3…
- plugins.trac.wordpress.org/browser/emails-verification-for-woocommerce/tags/3.3…
- plugins.trac.wordpress.org/changeset
Frequently asked questions
- What is CVE-2026-104745?
- CVE-2026-104745 is a high-severity vulnerability in Wpcodefactory Customer Email Verification For Woocommerce, classified under Improper Privilege Management. CVSS score: 8.1/10. Published 2026-10-16.
- How severe is CVE-2026-104745?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2026-104745 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.