Skip to main content

Query Shortcode EUVDEUVD-2026-32062

| CVE-2026-9200 HIGH
PHP Remote File Inclusion (CWE-98)
2026-05-27 security@wordfence.com GHSA-m654-52c2-fwxx
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain contributor-level WordPress account
  2. Delivery
    Author content with crafted Query Shortcode
  3. Exploit
    Force PHP include of local .php path
  4. Execution
    Execute included PHP in app context
  5. Impact
    Read sensitive data or run uploaded code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

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

Exploitation Conditions

Exploitation requires an authenticated account with contributor-level access or above (CVSS PR:L), confirmed by both the description and the vector - anonymous visitors cannot trigger it. The attacker must be able to author content that invokes the plugin's vulnerable shortcode function so it reaches the PHP include/require call in init.php, and must reference a local .php file path that exists on the server (the AC:H rating reflects this path-knowledge/setup hurdle). Full arbitrary code execution of attacker-chosen content additionally requires a deployment in which .php files can be uploaded and then included; without an upload vector the impact is inclusion/execution of files already on disk. No user interaction is needed (UI:N), and the plugin (≤0.2.1) must be installed and active.

Impact

Signals are mixed and point to a real but not urgent issue. The CVSS 3.1 base score is 7.5 with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H: network reachable, no user interaction, full confidentiality/integrity/availability impact, but high attack complexity (AC:H) and a required privilege level (PR:L). The PR:L requirement confirms the attacker must already hold a contributor-or-above account, which meaningfully limits the population of capable attackers, and AC:H implies non-trivial conditions (such as knowing or controlling a valid local .php path). EPSS is very low (0.07%, 21st percentile) and the CVE is not on CISA KEV, with no public exploit identified - consistent with the high complexity and authentication gate. The headline 'RCE' tag is conditional: pure LFI is confirmed, but code execution of attacker-chosen content additionally depends on the ability to upload .php files, so treat full RCE as situational rather than guaranteed.

Exploit ScenarioDerived

A user holding a contributor account (self-registered on an open site, or a low-trust internal author) creates or edits a post containing a malicious Query Shortcode whose parameter resolves to a sensitive local .php file. When the content is rendered, the plugin includes and executes that file in the WordPress PHP context, disclosing data or bypassing access controls; if the same attacker can also upload a .php file through any site feature, the included file runs their own code. No public exploit code has been identified, and the high attack complexity means the attacker must identify a valid include path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 27, 2026

Local File Inclusion in the Query Shortcode plugin for WordPress (all versions through 0.2.1) lets authenticated users with contributor-level access or higher coerce the shortcode handler into including and executing arbitrary .php files already present on the server. Because included files are run by the PHP interpreter, this can leak sensitive data, bypass access controls, and escalate to full remote code execution where an attacker can also place a .php file (e.g. via an upload feature). EPSS rates near-term exploitation probability very low (0.07%, 21st percentile) and there is no public exploit identified at time of analysis.

RemediationAI

No vendor-released patched version is identified in the available data, so a specific fix version cannot be cited; monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/28df760b-6b15-41ca-b93f-9d24dbbd9fc4?source=cve) and the WordPress plugin page for an update beyond 0.2.1 and apply it once published. Until a patch is confirmed, the most decisive control is to deactivate and remove the Query Shortcode plugin, accepting the trade-off that any content relying on its shortcodes will stop rendering. If the plugin must remain active, restrict contributor-and-above accounts to trusted users and review existing contributor accounts, since the exploit requires that privilege level; additionally block the ability for those roles to upload or place .php files (enforce upload allowlists / disable PHP execution in the uploads directory) to prevent escalation from file inclusion to arbitrary code execution. A WordPress-aware WAF (such as Wordfence) can provide virtual patching as a stopgap, with the caveat that signature-based blocking may be incomplete against path-manipulation variants.

Affected VersionsENISA

Query Shortcode 0 ≤0.2.1

Affected Packages

euvd query_shortcode 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

The flaw is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in a PHP Program), the root-cause class behind PHP file inclusion bugs. The plugin's shortcode function (see init.php around lines 56, 97, and 178 in the WordPress plugin trac) passes attacker-influenced input into a PHP include/require path without adequately restricting it to an allowlisted location, so a path that resolves to a local .php file is loaded and executed in the application context. WordPress shortcodes are interpreted when a post or page is rendered, so any role permitted to author shortcode-bearing content can reach the vulnerable code path. No CPE string was provided in the source data; affected-product identity is drawn from the NVD/EUVD description and the plugin slug 'query-shortcode'.

Know when PHP 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

NVD PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Query Shortcode plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 0.2.1 via the shortcode function. This makes it possible for authenticated attackers, with contributor-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

Executive ViewAI

Why It Matters

The Query Shortcode WordPress plugin (all versions through 0.2.1) permits authenticated users at contributor level and above to include and execute arbitrary PHP files on the server, enabling remote code execution and data theft. Organizations running this plugin face immediate compromise risk from insider threats or compromised contributor accounts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: immediately disable and uninstall the vulnerable plugin; restrict contributor-level role assignments to minimize attack surface; deploy application-level logging to monitor for include()/require() calls with user-controlled paths; implement file integrity monitoring on PHP execution directories; configure WAF rules to block HTTP requests containing path traversal sequences (../) targeting .php files.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Data Quality
4 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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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