Medium
Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-8562
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:14 UTC · Revision 1
Source evidence
Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter
core-osv · Original sourcePublished 25 Aug 2025, 09:23 UTC
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.
osv:CVE-2025-8562
Complete source record
{
"id": "8dbbf678ecae5e3fc29092759fcf3048266f0b272e4bcfcf8ce6e467bf1d138e",
"url": "https://osv.dev/vulnerability/CVE-2025-8562",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter",
"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.",
"evidence": "osv:CVE-2025-8562",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-8562",
"aliases": [
"CVE-2025-8562"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/peterhebert/custom-query-shortcode",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "dee892672137da2617270d5ceb8adefdcbbac75d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"0.4.0",
"0.3",
"0.2.5",
"0.2.4",
"0.2.3",
"0.2.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8562.json"
}
}
],
"modified": "2026-10-28T02:30:37.956091250Z",
"provider": "osv",
"references": [
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8562.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-8562",
"https://github.com/peterhebert/custom-query-shortcode/pull/1"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "Wordfence",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8562.json"
}
},
"related_cves": [
{
"value": "CVE-2025-8562",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505210,
"published_at": "2025-08-25T09:23:49.848+00:00"
}