CVE-2025-8562
MEDIUM
6.5
CVSS 3.1
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 WordPress components
-
Custom Query Shortcode Plugin · custom-query-shortcodeUp to and including 0.4.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- peterhebert Custom Query Shortcode — Up to and including 0.4.0
References
- github.com https://github.com/peterhebert/custom-query-shortcode/pull/1
- plugins.svn.wordpress.org https://plugins.svn.wordpress.org/custom-query-shortcode/tags/0.4.0/init.php
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3348818/
- wordpress.org https://wordpress.org/plugins/custom-query-shortcode/#developers
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/9e37c664-76ed-4ede-88fd-e41b9969685f?source=cve
- nvd.nist.gov Official NVD record