CVE-2025-8562 MEDIUM

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

Vendor Peterhebert
Product Custom Query Shortcode
Weakness CWE-22 · Path traversal
Published August 25, 2025
Last update April 8, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Custom Query Shortcode versions 0.4.0 and earlier contain a path traversal vulnerability that allows authenticated users to read arbitrary files from the server. An attacker with low-level site access can bypass directory restrictions and access sensitive files outside the intended scope. This affects confidentiality but not data integrity or availability.

What an attacker can do

03Attacker Capabilities

Read arbitrary files from the server filesystem.

Potential impact on your site

04Site Impact

Sensitive files (config, database credentials, private keys) may be exposed to authenticated users with limited permissions.

Conditions required to exploit

05Prerequisites

Attacker must have low-level authenticated access to the site (e.g., subscriber or contributor role).

Key dates

06Disclosure timeline

August 25, 2025 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE