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-13891: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in wpchill Modula Image Gallery – Photo Grid & Video Gallery

0
Medium
VulnerabilityCVE-2025-13891cvecve-2025-13891cwe-22
Published: Fri Dec 12 2025 (12/12/2025, 07:20:35 UTC)
Source: CVE Database V5
Vendor/Project: wpchill
Product: Modula Image Gallery – Photo Grid & Video Gallery

Description

The Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 2.13.3. This is due to the modula_list_folders AJAX endpoint that lacks proper path validation and base directory restrictions. While the endpoint verifies user capabilities (Author+ with upload_files and edit_posts permissions), it fails to validate that user-supplied directory paths reside within safe directories. This makes it possible for authenticated attackers, with Author-level access and above, to enumerate arbitrary directories on the server via the modula_list_folders endpoint.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 16:38:25 UTC

Technical Analysis

The Modula Image Gallery – Photo Grid & Video Gallery WordPress plugin (versions up to 2.13.3) contains a path traversal vulnerability (CWE-22) in its modula_list_folders AJAX endpoint. This endpoint verifies that the user has Author-level permissions with upload_files and edit_posts capabilities but fails to restrict directory path inputs to a safe base directory. Consequently, authenticated users with sufficient privileges can manipulate the directory path parameter to enumerate arbitrary directories on the server, potentially exposing sensitive file system information. The vulnerability is rated medium severity with a CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N). No patch or official remediation guidance is currently available, and no exploits are known in the wild.

Potential Impact

Authenticated users with Author-level permissions or higher can exploit this vulnerability to enumerate arbitrary directories on the server hosting the WordPress plugin. This can lead to unauthorized disclosure of sensitive file system information (confidentiality impact). There is no indication of integrity or availability impact. No known exploits are reported, but the vulnerability could aid attackers in further reconnaissance or targeted attacks.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Author-level user permissions to trusted users only and monitor for suspicious activity related to the modula_list_folders AJAX endpoint. Avoid granting upload_files and edit_posts capabilities to untrusted users. Follow updates from the wpchill vendor for an official patch or mitigation.

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

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-12-02T15:32:55.502Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 693bc3e35f3fdafda42e6cdc

Added to database: 12/12/2025, 7:27:31 AM

Last enriched: 4/9/2026, 4:38:25 PM

Last updated: 5/10/2026, 12:56:38 AM

Views: 156

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