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

CVE-2024-9231

CVE-2024-9231 Cross-Site Scripting in Wp-members
📅 PUBLISHED: 2024-10-22 09:32 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: 2.57%
👁️
2.57% probability
64.1× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
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.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-9231 is a reflected Cross-Site Scripting (XSS) vulnerability in the WP-Members Membership Plugin for WordPress, affecting all versions up to and including 3.4.9.5. The flaw arises from the insecure use of add_query_arg without proper escaping on URLs, allowing unauthenticated attackers to inject arbitrary web scripts. Successful exploitation requires user interaction (e.g., clicking a crafted link), leading to potential session hijacking, credential theft, or defacement within the WordPress context. The CVSS score of 6.1 (Medium) reflects the low complexity and network attack vector, but the requirement for user interaction reduces the severity. No public exploit code 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 resides in a WordPress plugin distributed via the official WordPress plugin repository. Users are advised to monitor the plugin’s update channel and apply patches as soon as they become available. Since no patch is currently released, consider disabling the plugin or implementing a Web Application Firewall (WAF) rule as a temporary measure.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Base Score: 6.1 (Medium)
  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – Unauthenticated.
  • User Interaction (UI): Required (R) – Victim must click a link.
  • Scope (S): Changed (C) – Impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited modification possible.
  • Availability (A): None (N) – No denial of service.

Threat Level: Medium. The vulnerability is easy to exploit but requires user interaction. In a WordPress ecosystem, reflected XSS can lead to admin account takeover if an administrator clicks the malicious link.

Deep Dive & Mechanics

The vulnerability exists in the WP-Members plugin’s handling of URL parameters. The add_query_arg function is used to construct URLs without proper escaping, allowing an attacker to inject malicious JavaScript via a crafted query string. When a user clicks a link containing the injected payload, the script executes in the context of the victim’s browser session.

Root Cause: The plugin fails to sanitize or escape user-supplied input before passing it to add_query_arg. This is a classic reflected XSS pattern in WordPress plugins.

Attack Flow:

  1. Attacker crafts a malicious URL: https://victim-site.com/wp-admin/admin.php?page=wp-members&<script>alert('XSS')</script>
  2. Attacker lures a logged-in user (e.g., via phishing email) to click the link.
  3. The plugin processes the URL and reflects the unsanitized script in the response.
  4. The victim’s browser executes the script, potentially stealing cookies or performing actions on behalf of the user.

Vulnerable vs. Patched Code

Vulnerable Code (<= 3.4.9.5):

// Example vulnerable usage
$url = add_query_arg( 'page', 'wp-members', admin_url( 'admin.php' ) );
$url = add_query_arg( 'some_param', $_GET['some_param'], $url );
echo '<a href="' . $url . '">Link</a>';

Patched Code (Hypothetical):

// Properly escape the URL
$url = add_query_arg( 'page', 'wp-members', admin_url( 'admin.php' ) );
$url = add_query_arg( 'some_param', esc_url( $_GET['some_param'] ), $url );
echo '<a href="' . esc_url( $url ) . '">Link</a>';

The patch uses esc_url() to sanitize the entire URL and individual parameters, preventing script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

Since no public exploit code is available, a manual proof-of-concept can be constructed:

Step 1: Identify vulnerable endpoint

  • Navigate to https://target-site.com/wp-admin/admin.php?page=wp-members

Step 2: Craft malicious URL

https://target-site.com/wp-admin/admin.php?page=wp-members&<script>alert(document.cookie)</script>

Step 3: Deliver to victim

  • Use phishing or social engineering to trick a WordPress admin into clicking the link.

Step 4: Observe execution

  • The script executes in the admin’s browser, potentially exfiltrating session cookies.

Lab Setup:

  • Install WordPress with WP-Members plugin version 3.4.9.5.
  • Use a local environment (e.g., XAMPP, Docker).
  • Simulate victim click via browser or automated tool (e.g., curl with --user-agent).

Blue Team (Detection & Response)

Detection:

  • Monitor web server logs for suspicious query strings containing <script> tags or event handlers (e.g., onerror, onload).
  • Use WAF rules to block reflected XSS patterns.

Response:

  • Immediately isolate affected systems.
  • Rotate all session tokens and credentials.
  • Apply virtual patching via WAF until official patch is available.

Indicators of Compromise (IOCs)

  • URL Patterns: admin.php?page=wp-members&<script>
  • HTTP Referer: Suspicious external domains in referer header.
  • Log Entries: GET /wp-admin/admin.php?page=wp-members&<script>alert(1)</script>
  • Network Traffic: Outbound connections to attacker-controlled domains (if payload exfiltrates data).

Detection Engineering

YARA Rule

rule CVE_2024_9231_Reflected_XSS {
    meta:
        description = "Detects reflected XSS attempts targeting WP-Members plugin"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-9231"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $wp_members_path = /\/wp-admin\/admin\.php\?page=wp-members/i
    condition:
        $wp_members_path and $xss_payload
}

Sigma Rule

title: Reflected XSS Attempt on WP-Members Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects reflected XSS attempts targeting CVE-2024-9231
author: Valters IT
date: 2024-10-27
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 'page=wp-members'
        cs-uri-query|re: '<script[^>]*>.*<\/script>'
    condition: selection
falsepositives:
    - Legitimate use of script tags in query strings (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-9231 Reflected XSS Attempt"; flow:to_server,established; content:"page=wp-members"; http_uri; pcre:"/<script[^>]*>.*<\/script>/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if not critical to operations.
  2. Implement WAF rules to block reflected XSS patterns (e.g., block URIs containing <script> in query strings).
  3. Educate users about phishing risks and not clicking suspicious links.

Long-term Fix:

  • Apply the official patch once released by the vendor.
  • Upgrade to a patched version (monitor WP-Members plugin page).
  • Conduct a security audit of all WordPress plugins for similar issues.

Compensating Controls:

  • Use Content Security Policy (CSP) headers to mitigate XSS impact.
  • Enable HTTP-only and Secure flags on session cookies.
  • Implement input validation and output encoding in custom code.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ 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-Members"
http.html:"wp-members"
http.html:"/wp-content/plugins/wp-members/

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