{"id":"CVE-2025-8562","state":"PUBLISHED","title":"Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter","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.","publishedAt":"2025-08-25T09:23:49.848Z","updatedAt":"2026-04-08T17:11:44.067Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["peterhebert Custom Query Shortcode"],"affected":[{"vendor":"peterhebert","product":"Custom Query Shortcode","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.4.0","versionType":"semver"}]}],"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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/8xxx/CVE-2025-8562.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-8562","state":"PUBLISHED","datePublished":"2025-08-25T09:23:49.848Z","dateUpdated":"2026-04-08T17:11:44.067Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2025-08-04T19:06:37.983Z"},"containers":{"cna":{"title":"Custom Query Shortcode <= 0.4.0 - Authenticated (Contributor+) Path Traversal via lens Parameter","descriptions":[{"lang":"en","value":"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":[{"vendor":"peterhebert","product":"Custom Query Shortcode","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.4.0","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9e37c664-76ed-4ede-88fd-e41b9969685f?source=cve"},{"url":"https://plugins.svn.wordpress.org/custom-query-shortcode/tags/0.4.0/init.php"},{"url":"https://wordpress.org/plugins/custom-query-shortcode/#developers"},{"url":"https://plugins.trac.wordpress.org/changeset/3348818/"},{"url":"https://github.com/peterhebert/custom-query-shortcode/pull/1"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:11:44.067Z"},"credits":[{"lang":"en","type":"finder","value":"Muhammad Yudha - DJ"}],"timeline":[{"time":"2025-08-05T20:09:09.000Z","lang":"en","value":"Vendor Notified"},{"time":"2025-08-24T21:19:23.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-25T11:28:34.551661Z","id":"CVE-2025-8562","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-25T11:29:23.453Z"}}]}}}