CVE-2025-8625 Copypress Rest API 1.1 - 1.2 - Missing Configurable JWT Secret and File-Type Validation to Unauthenticated Remote Code Execution
CriticalCVSS 9.8
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- PHPWordPress
Description
The Copypress Rest API plugin for WordPress is vulnerable to Remote Code Execution via copyreap_handle_image() Function in versions 1.1 to 1.2. The plugin falls back to a hard-coded JWT signing key when no secret is defined and does not restrict which file types can be fetched and saved as attachments. As a result, unauthenticated attackers can forge a valid token to gain elevated privileges and upload an arbitrary file (e.g. a PHP script) through the image handler, leading to remote code execution.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| copypressdev Copypress Rest API | >= 1.1, <= 1.2 | after 1.2 | Fixed |
| wordpress copypress-rest-api(WordPress) | >= 1.1, < 1.3 | 1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress copypress-rest-api(WordPress) | >= 1.1, < 1.3 | 1.3 |
| copypressdev Copypress Rest API | >= 1.1, <= 1.2 | No fix listed |
References
- Wordfence Intelligence third-party-advisory
- www.cve.org
- www.wordfence.com
- wordpress.org