☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Wpdeveloper logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N 🐛 CWE-862
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-22696

CVE-2025-22696 Missing Authorization in Wpdeveloper
📅 PUBLISHED: 2025-02-04 15:15 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.13%
👁️
0.13% probability
3.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Bangladesh License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-22696 is a Missing Authorization vulnerability in the WordPress plugin Document Block – Upload & Embed Docs by WPDeveloper, affecting versions up to and including 1.1.0. This flaw allows authenticated attackers with low privileges (e.g., subscriber) to perform unauthorized actions, such as viewing or modifying documents that should be restricted. The vulnerability has a CVSS score of 5.4 (Medium) and currently has no known public exploit or patch. Given the plugin’s role in document management within WordPress, this poses a risk to confidentiality and integrity of uploaded documents.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users who installed the plugin from the repository are at risk. No patched version has been released, and the vendor has not responded to disclosure. Organizations should treat this as a supply chain risk and consider removing or replacing the plugin until a fix is available.

CVSS Breakdown & Threat Level

  • CVSS Score: 5.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (authenticated user)
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. Exploitation requires authentication but low privileges, making it accessible to many users on a WordPress site. The impact is limited to unauthorized document access and modification.

Deep Dive & Mechanics

The vulnerability resides in the plugin’s REST API or AJAX handlers that manage document uploads and embeddings. The plugin fails to properly enforce capability checks (e.g., edit_posts, upload_files) when processing requests to view, edit, or delete documents. An attacker with a subscriber-level account can craft requests to access documents belonging to other users or perform actions reserved for higher-privileged roles.

Root Cause: The plugin uses current_user_can() incorrectly or omits it entirely in certain endpoints, allowing any authenticated user to interact with any document.

Attack Flow:

  1. Attacker logs in as a subscriber.
  2. Attacker sends a crafted HTTP request to the vulnerable endpoint (e.g., /wp-json/document-block/v1/document/{id}).
  3. The server processes the request without verifying the user’s ownership or role.
  4. Attacker gains unauthorized access to the document content or modifies it.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is assumed to be in the plugin’s main PHP files. A typical vulnerable pattern:

Vulnerable Code (example):

add_action('wp_ajax_document_block_get', 'document_block_get_document');
function document_block_get_document() {
    $document_id = $_POST['document_id'];
    // Missing capability check
    $document = get_post($document_id);
    echo json_encode($document);
    wp_die();
}

Patched Code (hypothetical):

add_action('wp_ajax_document_block_get', 'document_block_get_document');
function document_block_get_document() {
    if (!current_user_can('edit_posts')) {
        wp_die('Unauthorized', 403);
    }
    $document_id = $_POST['document_id'];
    $document = get_post($document_id);
    // Additional check: ensure user owns the document or has proper role
    if ($document->post_author != get_current_user_id() && !current_user_can('manage_options')) {
        wp_die('Unauthorized', 403);
    }
    echo json_encode($document);
    wp_die();
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress site with Document Block plugin <= 1.1.0
  • Valid low-privilege user account (e.g., subscriber)

Exploit Steps:

  1. Obtain a valid session cookie for the subscriber account.
  2. Send a GET request to the vulnerable endpoint:
    curl -X GET "http://target/wp-json/document-block/v1/document/123" \
         -H "Cookie: wordpress_logged_in_xxx=..."
    
  3. If successful, the response will contain the document data (e.g., title, content, file URL).
  4. To modify a document, send a POST request with the new content:
    curl -X POST "http://target/wp-json/document-block/v1/document/123" \
         -H "Cookie: wordpress_logged_in_xxx=..." \
         -d "title=Hacked&content=malicious"
    

Note: No public exploit code is available; this is a conceptual demonstration.

Blue Team (Detection & Defense)

Detection:

  • Monitor for unusual access to /wp-json/document-block/v1/document/ endpoints from low-privilege users.
  • Alert on multiple document access attempts by a single user within a short time.
  • Check for 403 errors followed by successful 200 responses on the same endpoint (indicating privilege escalation attempts).

Defense:

  • Immediately disable the plugin if not essential.
  • Implement a Web Application Firewall (WAF) rule to block requests to the vulnerable endpoint from non-admin users.
  • Use a WordPress security plugin to enforce capability checks.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /wp-json/document-block/v1/document/ with a low-privilege session cookie.
    • Repeated 403 errors followed by 200 success on the same endpoint.
  • File IOCs:
    • Modified document content in the WordPress database (check wp_posts table for unexpected changes).
  • Log IOCs:
    • WordPress debug log entries showing document_block_get_document function calls from unexpected user roles.

Detection Engineering

YARA Rule

rule Detect_Document_Block_Missing_Auth {
    meta:
        description = "Detects exploitation attempts of CVE-2025-22696 in WordPress Document Block plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-22696"
    strings:
        $endpoint = "/wp-json/document-block/v1/document/"
        $low_priv_cookie = "wordpress_logged_in_"
    condition:
        $endpoint and $low_priv_cookie
}

Sigma Rule

title: CVE-2025-22696 - Missing Authorization in Document Block Plugin
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects unauthorized access to Document Block plugin endpoints
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-stem:
            - "/wp-json/document-block/v1/document/*"
        sc-status: 200
    condition: selection
falsepositives:
    - Legitimate admin access
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-22696 - Document Block Missing Authorization Exploit";
    flow:to_server,established;
    content:"/wp-json/document-block/v1/document/"; http_uri;
    pcre:"/wordpress_logged_in_[a-f0-9]+/";
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Review user roles and remove any unnecessary low-privilege accounts.
  3. Audit logs for signs of exploitation.

Long-term Fix:

  • Replace the plugin with an alternative that has proper authorization checks.
  • Monitor the vendor’s repository for updates; if none appear, consider forking and patching the code yourself.

Workaround:

  • Add a custom function to your theme’s functions.php to block access to the vulnerable endpoint for non-admin users:
    add_action('init', function() {
        if (defined('REST_REQUEST') && REST_REQUEST) {
            $route = $_SERVER['REQUEST_URI'];
            if (strpos($route, '/document-block/v1/document/') !== false) {
                if (!current_user_can('edit_posts')) {
                    wp_die('Unauthorized', 403);
                }
            }
        }
    });
    

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Document Block"
http.html:"wp-content/plugins/document-block"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-22696/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.