Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-8562: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in peterhebert Custom Query Shortcode

0
Medium
VulnerabilityCVE-2025-8562cvecve-2025-8562cwe-22
Published: Mon Aug 25 2025 (08/25/2025, 09:23:49 UTC)
Source: CVE Database V5
Vendor/Project: peterhebert
Product: Custom Query Shortcode

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 18:03:55 UTC

Technical Analysis

CVE-2025-8562 is a path traversal vulnerability (CWE-22) in the peterhebert Custom Query Shortcode WordPress plugin affecting all versions up to 0.4.0. The flaw exists in the handling of the 'lens' parameter, which allows authenticated users with at least Contributor privileges to read arbitrary files on the server. This can lead to disclosure of sensitive data. The vulnerability has a CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, unchanged scope, high confidentiality impact, and no integrity or availability impact. There is no vendor advisory or patch link currently available, and no known exploits in the wild have been reported.

Potential Impact

An attacker with Contributor-level or higher access can exploit this vulnerability to read arbitrary files on the server via the vulnerable 'lens' parameter. This can lead to exposure of sensitive information stored on the server, compromising confidentiality. There is no indication of integrity or availability impact. The vulnerability requires authenticated access, limiting the attack surface to users with some level of trust within the WordPress environment.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the 'lens' parameter. Consider disabling or removing the Custom Query Shortcode plugin if possible to eliminate the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-08-04T19:06:37.983Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68ac315cad5a09ad004a8675

Added to database: 8/25/2025, 9:48:12 AM

Last enriched: 4/9/2026, 6:03:55 PM

Last updated: 5/10/2026, 2:27:17 AM

Views: 154

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses