WordPress Custom Query Blocks Plugin Cross-Site Scripting Vulnerability

Vulnerability

A DOM-based cross-site scripting vulnerability has been identified in the WordPress Custom Query Blocks plugin, specifically in versions through 5.5.0. This issue arises from improper input neutralization during web page generation, allowing malicious actors to inject and execute scripts on the affected site.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed when users visit the affected site.

Remediation

Users of the WordPress Custom Query Blocks plugin should update to version 5.6.0 or later to address this vulnerability. Patchstack users can enable auto-update for vulnerable plugins.

Added: Apr 8, 2026, 11:11 AM
Updated: Apr 8, 2026, 11:11 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.4
exploitability
5.2
remediation
7.7
relevance
5.5
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.