CVE-2025-8625
CRITICAL
9.8
CVSS 3.1
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.
Affected WordPress components
-
Copypress Rest API Plugin · copypress-rest-apiFrom 1.1 (including) to 1.2 (including)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- copypressdev Copypress Rest API — From 1.1 (including) to 1.2 (including)
References
- wordpress.org https://wordpress.org/plugins/copypress-rest-api/#developers
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/3045c9e5-4095-48e5-8d9d-16a091e69d54?source=cve
- nvd.nist.gov Official NVD record