What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Query Shortcode versions 0.2.1 and earlier contain a code injection vulnerability. An attacker with low-level privileges can inject and execute arbitrary code on the site without user interaction. The vulnerability affects confidentiality, integrity, and availability of the site. Update to a version newer than 0.2.1 immediately.
What an attacker can do
03Attacker Capabilities
Run arbitrary code on the site with the privileges of the web server.
Potential impact on your site
04Site Impact
Complete compromise of site data, functionality, and server resources possible.
Conditions required to exploit
05Prerequisites
Attacker must have low-level user account access; no user interaction required.
Key dates
06Disclosure timeline
May 27, 2026
CVE published
May 27, 2026
Record updated