Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryAuthor content with crafted Query Shortcode
-
ExploitForce PHP include of local .php path
-
ExecutionExecute included PHP in app context
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-32062
GHSA-m654-52c2-fwxx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB