← Back to search

CVE-2026-104745

8.1 HIGH

Published 2026-10-16 · Updated 2026-10-16

AI risk analysis

Summary
The Customer Email Verification for WooCommerce plugin allows unauthenticated privilege escalation due to a weak activation code generation mechanism using only ~7 bits of entropy in hashids mode, combined with an unauthenticated, nonce-less, rate-limited-free verification endpoint that accepts attacker-controlled GET parameters.
Exploitability
Exploitation is moderately difficult: requires the 'hashids' encoding method to be enabled, recovery or brute-force of the default MD5-based salt, and targeting an unverified account, but the tiny code space (~101 values) makes brute-forcing trivial once the salt is known.
Blast radius
An attacker who successfully exploits this can authenticate as any unverified WordPress user—including administrators—leading to full site compromise without needing credentials or prior access.
Detection
Look for repeated GET requests to the WordPress `init` handler (e.g., `/wp-admin/admin-ajax.php` or root path) with the `alg_wc_ev_verify_email` parameter containing short, repetitive Hashids-like strings that decode to small integers (0–100), especially from the same source IP or with no session cookie.
Prioritized remediation
Upgrade to version 3.3.1 or later, which fixes the entropy issue and adds proper nonce validation and rate limiting to the verification endpoint.
privilege-escalationweak-cryptographyunauthenticated-accesswebwordpressbrute-force

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-269

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.