Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| peterhebert | Custom Query Shortcode | up to 0.4.0 | — | No fix listed | CNA |
- Custom Query Shortcode Vendorpeterhebert Affected up to 0.4.0 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8562
- 2026-10-03 Alias added: GHSA-9mgr-j5g2-cm6j
References
Other 5
- 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-2025-8562 · CVE Program
- CVE-2025-8562 · NVD
- FIRST EPSS
- GHSA-9mgr-j5g2-cm6j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences