WebP Express <= 0.25.15 - Unauthenticated Authorization Bypass via Malformed Bcrypt Salt via 'salt' and 'api-key-crypted' Parameters
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 14, 2026
Description
The WebP Express plugin for WordPress is vulnerable to Authorization Bypass via Malformed Bcrypt Salt in all versions up to, and including, 0.25.15. This is due to insufficient validation of the attacker-supplied `salt` POST parameter in the `runAccessChecks()` function, which passes the unvalidated salt directly to PHP's `crypt()` — causing it to return an empty string when the salt contains characters outside the valid bcrypt alphabet `[./0-9A-Za-z]` — and then loosely compares the resulting empty string against the attacker-controlled `api-key-crypted` POST parameter using `==`, allowing an empty submission to match and satisfy the check. This makes it possible for unauthenticated attackers to bypass the web service API-key authentication check and upload arbitrary image files to the cloud-conversion endpoint, where they persist at a predictable, publicly reachable path under `wp-content/webp-express/webp-images/wpc/`. The 'Require api-key to be crypted in transfer?' whitelist setting does not mitigate this bypass, as it only gates the plaintext API-key comparison branch and has no effect on the crypted-key branch containing the vulnerable logic.
| Product | Versions |
|---|---|
| WebP Express roselldk | 0.25.15 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | Wordfence |
Weaknesses
- CWE-285 Improper Authorization
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0e47b7f2-78cb-49b0-96ff-d922b284150e?source=cve
- https://plugins.trac.wordpress.org/browser/webp-express/tags/0.25.15/vendor/rosell-dk/webp-convert-cloud-service/src/AccessCheck.php#L51
- https://plugins.trac.wordpress.org/browser/webp-express/tags/0.25.15/vendor/rosell-dk/webp-convert-cloud-service/src/AccessCheck.php#L52
- https://plugins.trac.wordpress.org/browser/webp-express/tags/0.25.15/vendor/rosell-dk/webp-convert-cloud-service/src/WebPConvertCloudService.php#L100
- https://plugins.trac.wordpress.org/browser/webp-express/tags/0.25.15/web-service/wpc.php#L38
- https://plugins.trac.wordpress.org/browser/webp-express/tags/0.25.15/webp-express.php#L50
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3752945%40webp-express&new=3752945%40webp-express
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.