☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Publishpress logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-49032

CVE-2025-49032 Cross-Site Scripting in Publishpress
📅 PUBLISHED: 2025-07-03 13:15 UTC 🔄 UPDATED: 2026-08-12 14:52 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.14%
👁️
0.14% probability
3.6× 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.
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: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-49032 is a Stored Cross-Site Scripting (XSS) vulnerability in the PublishPress Gutenberg Blocks plugin (advanced-gutenberg) for WordPress. The vulnerability exists in versions through 3.3.1, where user-supplied input is improperly neutralized during web page generation. An authenticated attacker with contributor-level access or higher can inject malicious scripts that are stored on the server and executed in the browsers of other users, including administrators. This can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability is currently unpatched, 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 affects a WordPress plugin distributed through the official WordPress plugin repository. Users should verify the integrity of their plugin files and monitor for updates from PublishPress. Since the plugin is part of the WordPress ecosystem, supply chain risks include compromised updates or malicious forks.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor-level)
  • User Interaction: Required (Victim must visit the page)
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: Low

Threat Level: Medium. The vulnerability requires authentication and user interaction, but the stored nature of the XSS increases the potential for widespread impact within a WordPress site.

Deep Dive & Mechanics

The vulnerability resides in the Gutenberg Blocks plugin's handling of block attributes or custom fields. When a user with contributor-level access or higher creates or edits a post using the plugin's blocks, the plugin fails to sanitize or escape user-supplied input before storing it in the database. This allows an attacker to inject arbitrary JavaScript code.

When an administrator or other user views the compromised post, the injected script executes in their browser context. The script can perform actions such as:

  • Stealing session cookies
  • Modifying page content
  • Redirecting users to phishing sites
  • Creating new administrative users

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The lack of output encoding or input validation in the plugin's rendering functions allows the stored XSS to persist.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is presumed to be in the plugin's block rendering functions. A typical vulnerable pattern would be:

// Vulnerable code (example)
function render_block($attributes) {
    $output = '<div class="custom-block">' . $attributes['content'] . '</div>';
    return $output;
}

A patched version would escape the output:

// Patched code (example)
function render_block($attributes) {
    $output = '<div class="custom-block">' . esc_html($attributes['content']) . '</div>';
    return $output;
}

The actual vulnerable code may be in JavaScript (React) components that render block settings or previews without proper sanitization.

Exploitation & Lab Setup

Red Team

  1. Prerequisites: WordPress instance with Gutenberg Blocks plugin <= 3.3.1, contributor-level account.

  2. Steps:

    • Log in as a contributor.
    • Create a new post or page.
    • Add a Gutenberg block from the plugin (e.g., "Advanced Gallery" or "Custom HTML").
    • In a block attribute or custom field, inject the following payload:
      <img src=x onerror=alert('XSS')>
      
    • Save the post as a draft or publish it.
    • When an administrator views the post, the script executes.
  3. Advanced Payload:

    <script>
    fetch('/wp-admin/admin-ajax.php?action=create_user&username=attacker&email=attacker@example.com&role=administrator');
    </script>
    

Blue Team

  1. Detection: Monitor for unusual block content or suspicious JavaScript in post revisions.
  2. Prevention: Implement a Web Application Firewall (WAF) rule to block common XSS patterns in post content.
  3. Response: If compromised, remove the malicious post and reset all user sessions.

Indicators of Compromise (IOCs)

  • File Indicators:

    • Modified post content containing <script> tags or event handlers like onerror, onload, onmouseover.
    • Unexpected JavaScript in the wp_posts table post_content column.
  • Network Indicators:

    • Outbound connections to unknown domains from the WordPress admin interface.
    • HTTP requests containing encoded JavaScript in POST data to /wp-admin/post.php.
  • Log Indicators:

    • Repeated failed login attempts from the same IP after XSS execution.
    • Unusual user creation or privilege escalation events in WordPress audit logs.

Detection Engineering

YARA Rule

rule CVE_2025_49032_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in WordPress Gutenberg Blocks plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-49032"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"'\s>]+/is
        $xss3 = /onload\s*=\s*["']?[^"'\s>]+/is
        $xss4 = /onmouseover\s*=\s*["']?[^"'\s>]+/is
        $xss5 = /javascript\s*:/is
    condition:
        any of ($xss*) and filesize < 10MB
}

Sigma Rule

title: Stored XSS in Gutenberg Blocks Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS payloads in WordPress post content
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: POST
        http.url: '/wp-admin/post.php'
        http.body|contains: 
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in posts by administrators
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-49032 Stored XSS Payload in WordPress Post"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/post.php"; http_uri; content:"<script"; http_client_body; nocase; content:"onerror"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Actions:

    • Disable the Gutenberg Blocks plugin until a patch is released.
    • Review all posts created by low-privilege users for malicious content.
    • Reset all user sessions and force password changes.
  2. Long-term Fix:

    • Apply input validation and output encoding in all block rendering functions.
    • Use WordPress's built-in esc_html(), esc_attr(), and wp_kses() functions.
    • Implement Content Security Policy (CSP) headers to mitigate XSS impact.
  3. Workaround:

    • Restrict contributor-level users from using the vulnerable blocks via role management plugins.
    • Use a WAF to block common XSS patterns.

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:"Gutenberg Blocks"
http.html:"advanced-gutenberg"

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