CVE-2025-54708
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-54708 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the bPlugins B Blocks WordPress plugin. It affects all versions up to and including 2.0.5, and was reported by researcher Abu Hurayra on July 30, 2025, then published by Patchstack on August 14, 2025. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium), assigned by Patchstack (Patchstack, Red Hat CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically manifesting as DOM-Based XSS. Exploitation requires an attacker to have at least Contributor-level privileges on the WordPress site and also requires user interaction — a privileged user must perform an action such as clicking a malicious link or visiting a crafted page. The flaw allows injection of malicious scripts into the DOM that are then executed in the context of site visitors' browsers (Patchstack).

Impact

Successful exploitation allows an attacker to inject and execute arbitrary JavaScript in the browsers of site visitors, enabling session hijacking, credential theft, malicious redirects, or delivery of unwanted advertisements and HTML payloads. The scope is cross-site (S:C), meaning the injected script can affect resources beyond the vulnerable plugin's own origin. While the confidentiality and integrity impacts are limited, the attack can affect all visitors to the compromised WordPress site (Patchstack).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-54708. The EPSS score is approximately 0.033% (0.000330), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack rates this as low priority and notes it is unlikely to be exploited, though XSS vulnerabilities in WordPress plugins are sometimes used in mass-exploit campaigns (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the B Blocks plugin (bPlugins) at version 2.0.5 or earlier, using tools like WPScan or by inspecting plugin directories.
  2. Obtain Contributor access: Register or compromise a Contributor-level (or higher) account on the target WordPress site, as this privilege level is required to inject content via the plugin.
  3. Craft malicious payload: Create a DOM-Based XSS payload (e.g., a crafted block configuration or input field value) that injects a malicious <script> tag or JavaScript event handler into the page DOM via the B Blocks plugin's vulnerable input handling.
  4. Deliver the payload: Publish or embed the malicious block content in a post or page on the WordPress site.
  5. Trigger execution: When a privileged user (e.g., an administrator) or a site visitor loads the affected page, the injected script executes in their browser, potentially stealing session cookies, redirecting users, or performing other malicious actions (Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing unusual POST requests to block editor endpoints from Contributor-level accounts; unexpected page edits or new posts containing encoded JavaScript or <script> tags.
  • File System: Unexpected modifications to WordPress post content in the database containing obfuscated JavaScript payloads associated with B Blocks plugin blocks.
  • Network: Outbound requests from site visitors' browsers to unknown external domains (e.g., for cookie exfiltration or payload delivery) originating from pages using B Blocks plugin content.
  • Process/Behavior: Unusual JavaScript execution in browser developer console on pages containing B Blocks plugin blocks, such as unexpected document.cookie access or XMLHttpRequest calls to external hosts (Patchstack).

Mitigation and workarounds

The vulnerability is patched in B Blocks version 2.0.6. WordPress site administrators should update the B Blocks plugin to version 2.0.6 or later immediately. If an immediate update is not possible, consider restricting Contributor-level user registration or disabling the plugin until the update can be applied. Patchstack users can enable auto-update for vulnerable plugins to receive protection automatically (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management