What’s Vulnerable › Vulnerabilities
CVE-2025-8562: Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-25 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- peterhebert Custom Query Shortcode: through 0.4.0
References
- https://github.com/peterhebert/custom-query-shortcode/pull/1
- https://plugins.svn.wordpress.org/custom-query-shortcode/tags/0.4.0/init.php
- https://plugins.trac.wordpress.org/changeset/3348818/
- https://wordpress.org/plugins/custom-query-shortcode/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9e37c664-76ed-4ede-88fd-e41b9969685f?source=cve
Get alerted when CVE-2025-8562 or the next vulnerability affects your stack