Skip to main content

Custom Query Blocks CVE-2026-39575

| EUVDEUVD-2026-20223 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-08 Patchstack GHSA-2mw3-cgxq-9prq
6.5
CVSS 3.1 · Vendor: Patchstack
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS score of 6.5 (medium severity) initially suggests moderate concern, multiple risk signals indicate this is a lower-priority vulnerability in practice. The EPSS score of 0.03% (8th percentile) reflects minimal real-world exploitation probability, and no public exploit code or CISA KEV confirmation exists, meaning this remains theoretical rather than an active threat. The attack vector is network-accessible but requires both authenticated access (PR:L) and user interaction (UI:R), creating friction that further reduces likelihood. The scope change (S:C) elevates the CVSS baseline, but combined with the low EPSS and absence of exploitation evidence, this should be deprioritized below high-CVSS vulnerabilities with active POC or KEV status. Typical SSVC assessment would classify this as lower exploitation maturity given lack of reliable automatable triggers.

Exploit ScenarioDerived

An authenticated administrator or editor on a WordPress site could manipulate the post-type-archive-mapping feature by injecting malicious JavaScript into query parameters or configuration fields. If another authenticated user (or the same user via CSRF) visits a page rendering the affected mapping, the injected script executes in their browser, potentially exfiltrating session cookies, modifying page content, or performing administrative actions. The required user interaction (clicking a link or visiting a malicious URL crafted by the attacker) and need for prior authentication mean this is unlikely to be exploited at scale against typical WordPress sites, explaining the very low EPSS score.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

DOM-based cross-site scripting (XSS) in Ronald Huereca Custom Query Blocks WordPress plugin version 5.5.0 and earlier allows authenticated users to inject malicious scripts via the post-type-archive-mapping functionality. The vulnerability requires user interaction (UI:R) and affects confidentiality, integrity, and availability across site boundaries (S:C). With EPSS at 0.03% and no confirmed active exploitation, this is a low-probability risk despite the medium CVSS score, indicating exploitation requires specific preconditions unlikely to occur in typical deployments.

RemediationAI

Upgrade Custom Query Blocks to a version later than 5.5.0 immediately; consult the Patchstack advisory (https://patchstack.com/database/Wordpress/Plugin/post-type-archive-mapping/vulnerability/wordpress-custom-query-blocks-plugin-5-5-0-cross-site-scripting-xss-vulnerability?_s_id=cve) for the exact patched version number and installation instructions. As an interim workaround, restrict plugin access to trusted administrators only and limit use of the post-type-archive-mapping feature until patching is feasible. Review WordPress user roles and capabilities to ensure only essential administrators retain access to custom query configuration. Apply general XSS prevention measures site-wide via WordPress security plugins that enforce Content Security Policy headers.

Affected VersionsENISA

Custom Query Blocks 0 ≤5.5.0

Affected Packages

euvd custom_query_blocks no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exploits improper input neutralization (CWE-79) in the post-type-archive-mapping component of the Custom Query Blocks plugin. The flaw is classified as DOM-based XSS, meaning the malicious payload is processed and injected into the document object model on the client side rather than server-side, typically arising from unsafe use of JavaScript methods like innerHTML, eval(), or document.write() without adequate sanitization. The plugin, built for WordPress, lacks sufficient escaping or Content Security Policy protections when rendering user-supplied or administrator-controlled query parameters related to archive mapping, allowing arbitrary script execution within the browser context of authenticated users.

Know when Custom Query Blocks gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Primary rating from Vendor (Patchstack) · only source for this CVE.

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ronald Huereca Custom Query Blocks post-type-archive-mapping allows DOM-Based XSS.This issue affects Custom Query Blocks: from n/a through <= 5.5.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy