☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Wedevs 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:L 🐛 CWE-94
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-58673

CVE-2025-58673 Code Injection in Wedevs
📅 PUBLISHED: 2025-09-22 19:16 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.05%
👁️
0.05% probability
1.3× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia 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: L Availability Low
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-58673 is a Code Injection vulnerability (CWE-94) affecting the WP User Frontend WordPress plugin by weDevs, up to and including version 4.1.12. This flaw allows an authenticated attacker with low privileges to inject arbitrary code, potentially leading to full site compromise. The vulnerability resides in improper control of code generation within the plugin, enabling malicious input to be executed as PHP code. As a WordPress ecosystem issue, this affects sites using the plugin for frontend user management, registration, and profile editing. No public exploit or patch is currently available, making proactive detection and mitigation critical.

⚡ 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 is specific to the WordPress plugin ecosystem. The WP User Frontend plugin is distributed via the official WordPress Plugin Directory and can be installed directly from the WordPress admin dashboard. Organizations should inventory all WordPress installations and verify the version of WP User Frontend in use. Since no patch exists, consider removing or disabling the plugin until an update is released. Monitor the plugin’s changelog and security advisories for patch announcements.

CVSS Breakdown & Threat Level

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

Threat Level: Medium. While the CVSS score is moderate, the potential for code injection in a widely-used WordPress plugin elevates the risk. An attacker could escalate privileges, inject backdoors, or exfiltrate data.

Deep Dive & Mechanics

The vulnerability stems from improper sanitization of user-supplied input that is later used in code generation. In WP User Frontend, the plugin allows users to submit forms, edit profiles, and manage content from the frontend. The code injection likely occurs when the plugin processes shortcodes, custom fields, or template tags without adequate validation. An attacker with subscriber-level access could inject PHP code via a form field or profile update, which is then executed when the plugin renders the content.

Attack Vector:

  1. Attacker logs in as a subscriber or higher.
  2. Attacker submits a form or updates a profile field containing malicious PHP code (e.g., <?php system($_GET['cmd']); ?>).
  3. The plugin stores the input without proper sanitization.
  4. When the plugin generates output (e.g., displaying the user profile), the injected code is executed on the server.

Root Cause: Lack of input validation and output escaping in code generation routines, likely in functions that handle shortcode parsing or template rendering.

Vulnerable vs. Patched Code

Since no patch is available, a hypothetical fix would involve:

Vulnerable Code (Conceptual):

// Vulnerable: Directly evaluates user input
$user_input = $_POST['custom_field'];
eval("echo '$user_input';");

Patched Code (Conceptual):

// Patched: Sanitize and escape output
$user_input = sanitize_text_field($_POST['custom_field']);
echo esc_html($user_input);

The patched version would use WordPress built-in functions like sanitize_text_field() and esc_html() to prevent code execution.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress installation with WP User Frontend <= 4.1.12
  • Valid user account (subscriber or higher)

Exploitation Steps:

  1. Log in to WordPress as a subscriber.
  2. Navigate to a frontend form (e.g., profile edit).
  3. Inject PHP code into a text field (e.g., <?php file_put_contents('/tmp/evil.php', '<?php system($_GET["c"]); ?>'); ?>).
  4. Submit the form.
  5. Trigger the code execution by viewing the profile or a page that renders the field.
  6. Access the injected shell: http://target.com/wp-content/uploads/evil.php?c=id

Note: No public exploit code is available. The above is a conceptual demonstration.

Blue Team

Detection & Response:

  • Monitor for unusual PHP file creation in upload directories.
  • Alert on eval() or system() calls in web server logs.
  • Use WAF rules to block PHP code in form fields.
  • Implement file integrity monitoring for WordPress core and plugin files.

Hunting Queries:

  • Search for <?php in custom fields or user meta.
  • Look for recent file modifications in /wp-content/uploads/.
  • Review logs for POST requests to form endpoints with suspicious payloads.

Indicators of Compromise (IOCs)

  • File IOCs:
    • Unexpected PHP files in /wp-content/uploads/ or /wp-content/plugins/wp-user-frontend/
    • Modified plugin files (check file hashes)
  • Network IOCs:
    • Outbound connections to unknown IPs from the web server
    • HTTP requests containing <?php in POST data
  • Log IOCs:
    • Web server logs showing eval() or system() calls
    • Error logs with PHP parse errors from injected code
  • User IOCs:
    • New admin accounts created by non-admin users
    • Suspicious user meta containing PHP code

Detection Engineering

YARA Rule

rule CVE_2025_58673_WP_User_Frontend_Code_Injection {
    meta:
        description = "Detects PHP code injection attempts in WP User Frontend plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-58673"
    strings:
        $php_tag = "<?php"
        $short_tag = "<?="
        $eval_func = "eval("
        $system_func = "system("
        $exec_func = "exec("
    condition:
        any of ($php_tag, $short_tag) and any of ($eval_func, $system_func, $exec_func)
}

Sigma Rule

title: CVE-2025-58673 - WP User Frontend Code Injection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects PHP code injection attempts via WP User Frontend plugin
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-58673
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'wp-user-frontend'
        cs-uri-query|contains|all:
            - 'action=update_profile'
            - 'wp_nonce'
    keywords:
        - '<?php'
        - 'eval('
        - 'system('
    condition: selection and keywords
falsepositives:
    - Legitimate PHP code in user profiles (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-58673 WP User Frontend Code Injection Attempt"; flow:to_server,established; content:"POST"; http_method; content:"wp-user-frontend"; http_uri; content:"<?php"; http_client_body; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Remove or restrict user roles that can submit forms.
  3. Implement Web Application Firewall (WAF) rules to block PHP code in POST data.
  4. Monitor logs for exploitation attempts.

Long-term Fix:

  • Apply the official patch once released by weDevs.
  • Update to the latest version of WP User Frontend.
  • Conduct a security audit of all WordPress plugins.

Workarounds:

  • Use a security plugin (e.g., Wordfence) to block malicious input.
  • Add custom code to sanitize form fields:
add_filter('wpuf_update_profile', 'sanitize_profile_fields');
function sanitize_profile_fields($data) {
    foreach ($data as $key => $value) {
        $data[$key] = sanitize_text_field($value);
    }
    return $data;
}

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:"WP User Frontend"
http.html:"wp-user-frontend"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-58673/ · 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.