CVE-2025-8625: Copypress Rest API - Remote Code Execution
- Cve: CVE-2025-8625
- Name: Copypress Rest API - Remote Code Execution
- 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.
- Impact: Unauthenticated attackers can upload malicious files and execute arbitrary code remotely, leading to full server compromise.
- Remediation: Update to the latest version that fixes JWT key handling and restricts file types.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00601
- Epss percentile: 0.49711
- Assignee: [email protected]
- Published at: 2025-09-30T11:37:46Z
- Age in days: 420
- Modified at: 2026-06-17T10:07:20Z
- Public exploits total: 2
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-8625
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-321 | Use of Hard-coded Cryptographic Key |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ret0x2A/CVE-2025-8625 | poc-in-github | 2025-10-06 |
| https://github.com/Nxploited/CVE-2025-8625 | poc-in-github | 2025-10-03 |
References
| Url | Source | Tags |
|---|---|---|
| https://wordpress.org/plugins/copypress-rest-api/#developers | nvd | |
| https://www.wordfence.com/threat-intel/vulnerabilities/id/3045c9e5-4095-48e5-8d9d-16a091e69d54?source=cve | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2025-10-03
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts