CVE-2025-8562

medium

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.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/9e37c664-76ed-4ede-88fd-e41b9969685f?source=cve

https://wordpress.org/plugins/custom-query-shortcode/#developers

https://plugins.trac.wordpress.org/changeset/3348818/

https://plugins.svn.wordpress.org/custom-query-shortcode/tags/0.4.0/init.php

https://github.com/peterhebert/custom-query-shortcode/pull/1

Details

Source: Mitre, NVD

Published: 2025-08-25

Updated: 2025-08-25

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Severity: Medium

EPSS

EPSS: 0.00042