PoC Monitor
← All CVEs
CVE-2025-8625published 30 Sep 2025 03:35 UTCData: JSON · API

Copypressdev Copypress Rest API

Copypress Rest API 1.1 - 1.2 - Missing Configurable JWT Secret and File-Type Validation to Unauthenticated Remote Code Execution

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.

First public PoC 3.6 daysafter publication · 3 Oct 2025
Public PoCs22 on GitHub
CVSS9.8critical · scored by CNA · CWE-321
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

copypressdev Copypress Rest API
  • >= 1.1, <= 1.2

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published30 Sep 2025 · t = 0First public PoC3 Oct 2025 · t+3.6d

First public PoC 3.6 days after publication; not in CISA KEV. First PoC: Nxploited/CVE-2025-8625 (created 3 Oct 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
Nxploited/CVE-2025-8625 3 Oct 2025 +3.6 d 3 Scanner
ret0x2A/CVE-2025-8625 6 Oct 2025 +6.5 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /wp-json/copypress-api/v1/posts

Key headers
Accept: application/json Authorization: Bearer {var}
Body markers
"title":"Test" "content":"PoC" "image" "title":"Test Post" "content":"Test Content" in application/json
Ports
8080, 8081
PoC User-Agent
Mozilla/5.0
Seen in
2 repos: Nxploited/CVE-2025-8625, ret0x2A/CVE-2025-8625
Evidence
Nxploited/CVE-2025-8625/CVE-2025-8625.py:60 ret0x2A/CVE-2025-8625/exploit/CVE-2025-8625.py:52

GET /wp-content/uploads/{var}/{var}/{var}

Query
cmd=
Ports
8080, 8081
Seen in
1 repo: ret0x2A/CVE-2025-8625
Evidence
ret0x2A/CVE-2025-8625/exploit/CVE-2025-8625.py:65

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /wp-json/copypress-api/v1/posts
(?i)^/wp-json/copypress-api/v1/posts(?:[?#].*)?$
GET /wp-content/uploads/{var}/{var}/{var}
(?i)^/wp-content/uploads/[^/?#]*/[^/?#]*/[^/?#]*\?(?:.*&)?cmd=

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /wp-json/copypress-api/v1/posts
alert http any any -> $HOME_NET [8080,8081] (msg:"GG PoC-Monitor CVE-2025-8625 copypressdev Copypress Rest API exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-json/copypress-api/v1/posts"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|title|22|:|22|Test|22|"; http.request_body; content:"|22|content|22|:|22|PoC|22|"; http.request_body; content:"|22|image|22|"; http.request_body; content:"|22|title|22|:|22|Test Post|22|"; http.request_body; content:"|22|content|22|:|22|Test Content|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-8625; classtype:web-application-attack; sid:9218516; rev:1;)
GET /wp-content/uploads/{var}/{var}/{var}
alert http any any -> $HOME_NET [8080,8081] (msg:"GG PoC-Monitor CVE-2025-8625 copypressdev Copypress Rest API exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2025-8625; classtype:web-application-attack; sid:9336250; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /wp-json/copypress-api/v1/posts
title: copypressdev Copypress Rest API exploit attempt (CVE-2025-8625)
id: gg-pocmon-cve-2025-8625-9218516
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-8625. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-8625
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/wp-json/copypress-api/v1/posts'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.8625
GET /wp-content/uploads/{var}/{var}/{var}
title: copypressdev Copypress Rest API exploit attempt (CVE-2025-8625)
id: gg-pocmon-cve-2025-8625-9336250
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-8625. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-8625
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/wp-content/uploads/'
    cs-uri-query|contains|all:
      - 'cmd='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.8625