{"id":"CVE-2025-8625","aliases":["EUVD-2025-31697","GHSA-v536-8hrh-rxx4"],"status":"published","title":"Copypress Rest API 1.1 - 1.2 - Missing Configurable JWT Secret and File-Type Validation to Unauthenticated 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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00601,"percentile":0.4927,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-321"],"published":"2025-09-30T03:35:25Z","modified":"2026-06-17T10:07:20Z","exploits":[{"source":"pocgithub","id":"Nxploited/CVE-2025-8625","title":"Nxploited/CVE-2025-8625","date":"2025-10-03","url":"https://github.com/Nxploited/CVE-2025-8625"},{"source":"pocgithub","id":"ret0x2A/CVE-2025-8625","title":"ret0x2A/CVE-2025-8625","date":"2025-10-06","url":"https://github.com/ret0x2A/CVE-2025-8625"}],"products":[{"vendor":"copypressdev","product":"copypress rest api"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/3045c9e5-4095-48e5-8d9d-16a091e69d54?source=cve"},{"url":"https://wordpress.org/plugins/copypress-rest-api/#developers"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8625"},{"url":"https://github.com/advisories/GHSA-v536-8hrh-rxx4"}],"sources":{"cve":[{"id":"CVE-2025-8625","title":"Copypress Rest API 1.1 - 1.2 - Missing Configurable JWT Secret and File-Type Validation to Unauthenticated 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.","status":"published","published":"2025-09-30T03:35:25.18Z","modified":"2025-09-30T13:24:27.012Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-321"],"updated_at":"2026-11-02T14:32:38.351095Z"}],"euvd":[{"id":"EUVD-2025-31697","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.","status":"published","published":"2025-09-30T03:35:25Z","modified":"2025-09-30T13:24:27Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:31:38.096877Z"}],"ghsa":[{"id":"GHSA-v536-8hrh-rxx4","title":"The Copypress Rest API plugin for WordPress is vulnerable to Remote Code Execution via...","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.","status":"published","published":"2025-09-30T12:30:52Z","modified":"2025-09-30T12:31:03Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-321"],"updated_at":"2026-11-02T15:03:49.069159Z"}],"nvd":[{"id":"CVE-2025-8625","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.","status":"published","published":"2025-09-30T11:37:46.51Z","modified":"2026-06-17T10:07:20.353Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-321"],"updated_at":"2026-11-02T14:11:34.090044Z"}]}}
