☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Bplugins logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:N/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-54708

CVE-2025-54708 Cross-Site Scripting in Bplugins
📅 PUBLISHED: 2025-08-14 19: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: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-54708 is a DOM-Based Cross-Site Scripting (XSS) vulnerability found in the WordPress plugin ecosystem, specifically in the B Blocks plugin by bPlugins (slug: b-blocks). The vulnerability affects all versions up to and including 2.0.5. It stems from improper neutralization of user-controlled input during web page generation, allowing an attacker to inject malicious scripts that execute in the victim's browser within the context of the vulnerable WordPress site.

The CVSS v3.1 score is 6.5 (Medium), with the vector indicating a network-exploitable, low-complexity attack requiring user interaction. The impact is limited to confidentiality and integrity (low), with no impact on availability. The EPSS score is 0.0%, suggesting low current exploitation activity, but the lack of a known patch elevates the risk for unmaintained sites.

⚡ 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 resides in a WordPress plugin distributed via the official WordPress plugin repository. The plugin is not an NPM, PyPI, Go, or Ruby package, but it is part of the WordPress supply chain. Users who install or update the b-blocks plugin from the WordPress dashboard or via direct download are at risk. The absence of a patch means that any site running version 2.0.5 or earlier is vulnerable until the vendor releases an update or the site is manually hardened.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – Victim must click a crafted link or visit a malicious page.
  • Scope (S): Changed (C) – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure (e.g., session tokens).
  • Integrity (I): Low (L) – Limited ability to modify content.
  • Availability (A): None (N) – No denial-of-service impact.

Threat Level: Medium. While the CVSS score is moderate, the lack of a patch and the widespread use of WordPress plugins make this a significant concern for site administrators. DOM-based XSS can bypass traditional server-side filters and is often harder to detect.

Deep Dive & Mechanics

The vulnerability is a DOM-Based XSS (a subtype of Stored/Reflected XSS where the payload is executed via client-side script manipulation of the DOM). In the b-blocks plugin, user input is improperly sanitized before being used in JavaScript that manipulates the Document Object Model (DOM). An attacker can craft a URL or inject a payload into a field that, when processed by the plugin's JavaScript, writes unsanitized data into the DOM, leading to script execution.

Root Cause: The plugin likely uses functions like innerHTML, document.write, or eval() with user-controlled data without proper encoding or sanitization. For example, a block attribute or shortcode parameter might be directly concatenated into a JavaScript string that is later inserted into the DOM.

Attack Flow:

  1. Attacker identifies a vulnerable endpoint (e.g., a block attribute in a post or page).
  2. Attacker crafts a malicious payload, such as <img src=x onerror=alert(1)> or a more sophisticated script.
  3. Victim visits the page containing the malicious block or clicks a crafted link.
  4. The plugin's JavaScript processes the payload and inserts it into the DOM without sanitization.
  5. The payload executes in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.

Vulnerable vs. Patched Code

Since no patch is available, we can only hypothesize the vulnerable pattern. A typical vulnerable code snippet in a WordPress plugin might look like:

// Vulnerable code (hypothetical)
var userInput = getQueryParam('block_attr');
document.getElementById('my-block').innerHTML = userInput;

A patched version would sanitize the input before DOM insertion:

// Patched code (hypothetical)
var userInput = getQueryParam('block_attr');
var sanitized = DOMPurify.sanitize(userInput);
document.getElementById('my-block').innerHTML = sanitized;

Or use safe DOM methods:

// Patched code (alternative)
var userInput = getQueryParam('block_attr');
var textNode = document.createTextNode(userInput);
document.getElementById('my-block').appendChild(textNode);

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress site running B Blocks plugin version <= 2.0.5.
  • Ability to create or edit posts/pages with the vulnerable block (or craft a URL with malicious parameters).

Exploitation Steps:

  1. Identify the vulnerable block attribute. For example, the "B Block" might have a data-custom attribute that is reflected in the DOM.
  2. Craft a payload: <img src=x onerror=alert(document.cookie)>
  3. Inject the payload via a URL parameter or directly into a post/page content.
  4. Send the malicious link to the victim.
  5. Upon victim interaction, the payload executes, exfiltrating cookies or performing actions.

Example Payload (URL-based):

https://victim-site.com/?b-block-attr=<img src=x onerror=alert(1)>

Note: No public exploit code is available for this CVE. The above is a generic DOM XSS exploitation pattern.

Blue Team (Defensive)

Detection & Prevention:

  • Web Application Firewall (WAF): Deploy rules to block common XSS patterns (e.g., <script>, onerror=, javascript:).
  • Content Security Policy (CSP): Implement a strict CSP that disallows inline scripts and only allows trusted sources.
  • Input Validation: Ensure all user inputs are validated and sanitized on the client side (though server-side is preferred).
  • Plugin Update: Monitor the plugin repository for a patch. If none is forthcoming, consider disabling or replacing the plugin.

Hunting Queries:

  • Search web server logs for requests containing suspicious characters like <, >, onerror, onload, etc., in query parameters or POST data.
  • Monitor for unusual JavaScript execution in the browser (e.g., via browser console logs or CSP violation reports).

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests containing XSS payloads in parameters associated with b-blocks (e.g., ?b-block-attr=<script>).
    • Outbound connections to attacker-controlled domains from the victim's browser (e.g., http://evil.com/steal?cookie=...).
  • Host IOCs:
    • Presence of the b-blocks plugin version <= 2.0.5 in the WordPress plugins directory (/wp-content/plugins/b-blocks/).
    • Modified JavaScript files within the plugin directory (if attacker has write access).
  • Log IOCs:
    • Web server logs showing 200 responses to requests with XSS patterns.
    • Browser console errors or CSP violation reports indicating blocked inline scripts.

Detection Engineering

YARA Rule

rule CVE_2025_54708_DOM_XSS {
    meta:
        description = "Detects potential DOM XSS payloads targeting B Blocks plugin"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-54708"
    strings:
        $xss1 = /<[^>]*onerror\s*=[^>]*>/i
        $xss2 = /<[^>]*onload\s*=[^>]*>/i
        $xss3 = /<script\b[^>]*>/i
        $xss4 = /javascript\s*:/i
        $plugin = /b-blocks/i
    condition:
        any of ($xss*) and $plugin
}

Sigma Rule

title: CVE-2025-54708 DOM XSS in B Blocks Plugin
id: 8a4b3c2d-1e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects HTTP requests with XSS patterns targeting the B Blocks WordPress plugin
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
        cs-uri-stem|contains: '/wp-content/plugins/b-blocks/'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in block attributes (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-54708 DOM XSS in B Blocks Plugin"; flow:to_server,established; content:"/wp-content/plugins/b-blocks/"; http_uri; content:"<script"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not critical to site functionality.
  2. Apply a virtual patch using a WAF to block XSS patterns in requests to the plugin's endpoints.
  3. Implement a Content Security Policy (CSP) with script-src 'self' and 'unsafe-inline' disabled (though this may break legitimate functionality).

Long-Term Fix:

  • Vendor Patch: Await an official update from bPlugins. Monitor the WordPress plugin repository for version 2.0.6 or higher.
  • Code Hardening: If you have access to the plugin source, manually sanitize all DOM manipulations using DOMPurify or safe DOM methods.
  • Alternative Plugin: Consider replacing B Blocks with a similar, actively maintained plugin.

Valters IT Signature: This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters-it.com.

👁️ 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/b-blocks"
http.html:"b-blocks" "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-54708/ · 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.