What the vulnerability does
01Description
The Custom Query Shortcode plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 0.4.0 via the 'lens' parameter. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the contents of files on the server, which can contain sensitive information.
Explanation of Vulnerability in Simple Terms
02Summary
Custom Query Shortcode versions 0.4.0 and earlier contain a path traversal vulnerability that allows authenticated users to read arbitrary files from the server. An attacker with low-level site access can bypass directory restrictions and access sensitive files outside the intended scope. This affects confidentiality but not data integrity or availability.
What an attacker can do
03Attacker Capabilities
Read arbitrary files from the server filesystem.
Potential impact on your site
04Site Impact
Sensitive files (config, database credentials, private keys) may be exposed to authenticated users with limited permissions.
Conditions required to exploit
05Prerequisites
Attacker must have low-level authenticated access to the site (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
August 25, 2025
CVE published
April 8, 2026
Record updated