# CVE-2025-8562: Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter

- Severity: Medium 6.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-08-25T09:23:49.848Z
- Modified: 2026-06-17T10:07:14.403Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- peterhebert Custom Query Shortcode: up to 0.4.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/9e37c664-76ed-4ede-88fd-e41b9969685f?source=cve>
- <https://plugins.svn.wordpress.org/custom-query-shortcode/tags/0.4.0/init.php>
- <https://wordpress.org/plugins/custom-query-shortcode/#developers>
- <https://plugins.trac.wordpress.org/changeset/3348818/>
- <https://github.com/peterhebert/custom-query-shortcode/pull/1>

## Sources

- CVE List: [CVE-2025-8562](https://www.cve.org/CVERecord?id=CVE-2025-8562), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-8562](https://nvd.nist.gov/vuln/detail/CVE-2025-8562), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-8562 · Whole record: https://cve.day/CVE-2025-8562.json · Rebuilt by cve.day 2026-11-25T22:59:03.628Z
