{"id":"CVE-2026-104745","kind":"vulnerability","aliases":["CVE-2026-104745"],"related":[],"title":"WordPress WooCommerce email verification plugin: unauthenticated admin account takeover","description":"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.","summary":"The Customer Email Verification for WooCommerce plugin (up to and including 3.3.0) generates its activation code from only about 101 possible values when the Hashids encoding method is selected. An unauthenticated attacker can brute-force that code through a crafted verification URL and log in as any unverified WordPress account, including administrators.","severity":"high","cvss":8.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","self-hosted","woocommerce","wordpress"],"not_affected_if":["default-config","plugin-not-installed"],"how_to_check":"- Check the installed plugin version in the WordPress admin plugin list or in `wp-content/plugins/` for the Customer Email Verification for WooCommerce plugin; versions `3.3.0` and below are affected.\n- In the plugin settings, check whether 'Encoding method' is set to 'hashids' (non-default).","fix":"- Update the Customer Email Verification for WooCommerce plugin to a version later than `3.3.0` (fixed version unknown from the sources).\n- Until patched, switch 'Encoding method' away from 'hashids' or deactivate the plugin.","status":"open","published_at":"2026-10-16T04:18:21+00:00","first_seen_at":"2026-10-23T21:57:12+00:00","triaged_at":"2026-10-25T03:07:55+00:00","updated_at":"2026-10-25T03:07:55+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T03:07:55Z","model":"claude-haiku-5-5","output":{"fix":"- Update the Customer Email Verification for WooCommerce plugin to a version later than `3.3.0` (fixed version unknown from the sources).\n- Until patched, switch 'Encoding method' away from 'hashids' or deactivate the plugin.","reach":"internet","title":"WordPress WooCommerce email verification plugin: unauthenticated admin account takeover","impact":"high","summary":"The Customer Email Verification for WooCommerce plugin (up to and including 3.3.0) generates its activation code from only about 101 possible values when the Hashids encoding method is selected. An unauthenticated attacker can brute-force that code through a crafted verification URL and log in as any unverified WordPress account, including administrators.","category":"package","nicknames":[],"who_cares":["wordpress","woocommerce","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker logs in as an administrator and takes over the WordPress site","analyst_note":"Confirm the fixed plugin version above 3.3.0 and whether a patch exists, using the NVD entry linked in the sources.","how_to_check":"- Check the installed plugin version in the WordPress admin plugin list or in `wp-content/plugins/` for the Customer Email Verification for WooCommerce plugin; versions `3.3.0` and below are affected.\n- In the plugin settings, check whether 'Encoding method' is set to 'hashids' (non-default).","needs_analyst":true,"not_affected_if":["default-config","plugin-not-installed"],"who_is_affected":"Sites running the Customer Email Verification for WooCommerce plugin at version 3.3.0 or earlier with the non-default 'hashids' encoding method enabled. Exposure also requires that target accounts, especially administrator accounts, still have an unverified email address. Sites without this plugin, or running it with the default encoding method, are not affected by this description.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.00071,"input_tokens":3663,"output_tokens":688,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-104745':12A,15A '-2026':11A,14A '100':124C '101':41B,137C '3.3.0':33B,103C '7':140C 'accept':176C 'account':8A,72B,206C,211C,267C 'act':178C 'activ':36B,119C,219C 'address':270C 'admin':7A 'administr':74B,209C 'administrator-level':208C 'alg':91C,108C,184C 'attack':53B,182C,198C,243C 'attacker-control':181C 'authent':201C 'bit':141C 'brute':56B,214C,247C 'brute-forc':55B,213C,246C 'chang':235C 'check':171C 'code':37B,59B,113C,220C 'control':183C 'craft':62B 'cryptograph':154C 'custom':23B,76C 'cve':10A,13A 'default':240C,253C 'direct':191C 'email':3A,24B,77C,95C,188C,269C 'encod':47B,129C,151C,231C 'entropi':143C 'escal':88C 'ev':93C,110C,186C 'exist':106C 'exploit':227C 'first':261C 'forc':57B,215C,248C 'forg':224C 'gain':200C 'generat':34B,111C,114C 'get':189C 'handler':160C 'hashid':46B,134C,150C,237C,250C 'hook':161C 'host':19B 'includ':32B,73B,102C,207C 'init':163C 'initi':262C 'int':166C 'level':210C 'limit':175C 'log':66B 'mac':155C 'make':193C 'max':167C 'md5':256C 'method':48B,130C,232C 'non':239C 'non-default':238C 'nonc':170C 'packag':16B 'paramet':96C,190C 'per':117C 'per-us':116C 'php':165C 'plugin':5A,28B,81C,127C 'possibl':42B,138C,195C 'privileg':87C 'produc':135C 'rand':123C 'rate':174C 'recov':244C 'remain':271C 'requir':228C 'result':145C 'revers':149C 'salt':251C 'secret':120C 'select':50B 'self':18B 'self-host':17B 'set':132C,233C,259C 'small':218C 'space':221C 'takeov':9A 'target':266C 'time':257C 'token':146C 'trivial':217C 'unauthent':6A,52B,158C,197C 'unverifi':70B,204C,272C 'url':64B,226C 'use':121C 'user':112C,118C 'valu':43B,139C,258C 'verif':4A,25B,63B,78C,225C 'verifi':94C,159C,187C 'version':98C 'via':89C,222C 'vulner':85C,105C 'wc':92C,109C,185C 'woocommerc':2A,20B,27B,80C 'wordpress':1A,21B,71B,83C,205C 'wp':122C","nicknames":[],"mitigations":[],"who_affected":"Sites running the Customer Email Verification for WooCommerce plugin at version 3.3.0 or earlier with the non-default 'hashids' encoding method enabled. Exposure also requires that target accounts, especially administrator accounts, still have an unverified email address. Sites without this plugin, or running it with the default encoding method, are not affected by this description.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-16T04:18:21+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"security@wordfence.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-104745","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104745","severity":null,"published_at":"2026-10-16T04:18:21+00:00","modified_at":"2026-10-16T15:17:03+00:00","first_seen_at":"2026-10-23T21:57:12+00:00","fetched_at":"2026-10-23T22:28:54+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}