Atomic Edge analysis of CVE-2026-90962:
WebP Express versions up to and including 0.25.15 contain an unauthenticated authorization bypass in the cloud-conversion endpoint. The flaw resides in the third-party webp-convert-cloud-service AccessCheck.php logic used by the plugin. An attacker can pass a malformed bcrypt salt and an empty crypted key to satisfy the API-key comparison and upload arbitrary image files to a publicly reachable path. The CVSS score is 5.3 (CWE-285).
Root Cause: In webp-express/vendor/rosell-dk/webp-convert-cloud-service/src/AccessCheck.php, the original code constructs a bcrypt hash with `crypt($whitelistItem[‘api-key’], ‘$2y$10$’ . $_POST[‘salt’] . ‘$’)`. The `salt` POST parameter is not validated against the bcrypt alphabet `[./0-9A-Za-z]`. When the salt contains invalid characters, PHP’s `crypt()` returns an empty string or a failure marker such as `*0`. The code then strips the first 28 characters from the result, producing an empty or truncated `$cryptedKey`, and compares it to the attacker-controlled `$_POST[‘api-key-crypted’]` using loose `==`. An empty submission (`api-key-crypted=` or a value that loosely equals the empty string) matches the empty result and returns access granted. The check is inside the branch that handles `isset($_POST[‘salt’]) && isset($_POST[‘api-key-crypted’])`, and the `require-api-key-to-be-crypted-in-transfer` setting has no effect on this branch.
Exploitation: An unauthenticated attacker sends a POST request to the cloud-conversion endpoint (the webp-convert-cloud-service router, typically `wp-content/plugins/webp-express/vendor/rosell-dk/webp-convert-cloud-service/src/Serve.php` accessed via its public route) with `salt` set to a value containing characters outside the bcrypt alphabet (for example `salt[]=invalid` or `salt=!!!!!!!!!!!!!!!!!!!!!!`) and `api-key-crypted` set to an empty string. `crypt()` fails, returns an empty or `*0` result, the substr produces an empty string, and the loose comparison `” == ”` grants access. The attacker then supplies a `file` parameter containing image data. The uploaded file is written to a predictable public path under `wp-content/webp-express/webp-images/wpc/`, enabling persistent file hosting (potentially for phishing, malware staging, or content injection).
Patch Analysis: The patch in AccessCheck.php validates the salt with `preg_match(‘/^[./0-9A-Za-z]{22}$/D’, $salt)` and rejects non-strings. It requires `api-key-crypted` to be a non-empty string. After calling `crypt()`, it verifies the result is a 60-character string starting with `$2y$10$`; failure markers like `*0` or `*1` cause the loop to continue. The comparison now uses `hash_equals()` instead of `==`, eliminating type juggling and timing side channels. The plaintext branch also uses `hash_equals()` with string checks. In Serve.php, the patch removes the exception message from output to prevent path disclosure and moves cleanup into a `finally` block so uploaded and output files are always deleted. The ImageUrlReplacer.php patch adds a guard against `___noise` markers to prevent stored XSS and denial of service in the DOM parser, a separate hardening issue. The version is bumped to 0.25.16.
Impact: Successful exploitation grants unauthenticated access to the cloud-conversion service. Attackers can upload arbitrary files that persist at a publicly reachable URL under `wp-content/webp-express/webp-images/wpc/`. This enables hosting of malicious content, phishing pages, or payload staging on the victim’s domain. The vulnerability does not directly lead to remote code execution, but the ability to host arbitrary files on a trusted origin can facilitate further attacks. Atomic Edge research rates this as a medium-severity authorization bypass with meaningful real-world abuse potential.







