CVE-2024-13914: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in WP Experts File Manager Advanced Shortcode
The File Manager Advanced Shortcode plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.5.4 (file-manager-advanced-shortcode) and 2.5.6 (advanced-file-manager-pro-premium), via the 'file_manager_advanced' shortcode. This makes it possible for authenticated attackers, with Administrator-level access and above, to include and execute arbitrary JavaScript files on the server. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included. Sites currently using 2.5.4 (file-manager-advanced-shortcode) should be updated to 2.6.0 (advanced-file-manager-pro-premium).
AI Analysis
Technical Summary
CVE-2024-13914 is a path traversal vulnerability (CWE-22) found in the WP Experts File Manager Advanced Shortcode plugin for WordPress, affecting all versions up to 2.5.4 (file-manager-advanced-shortcode) and 2.5.6 (advanced-file-manager-pro-premium). The flaw exists in the handling of the 'file_manager_advanced' shortcode, which does not properly restrict pathname inputs to a safe directory. This allows an authenticated attacker with administrator-level privileges to perform Local File Inclusion (LFI) attacks by manipulating the shortcode parameters to include arbitrary JavaScript files from the server. Such inclusion can lead to execution of malicious scripts, bypassing normal access controls, exposing sensitive information, or enabling further code execution on the server. The vulnerability is particularly dangerous because it leverages the plugin's file upload and inclusion features, which may allow attackers to upload seemingly safe file types (e.g., images) and then execute them as scripts. The CVSS v3.1 base score is 7.2, reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The vulnerability was publicly disclosed in May 2025, with no known exploits in the wild at the time of publication. The recommended remediation is to upgrade affected installations to version 2.6.0 of the plugin, which addresses the path traversal issue.
Potential Impact
This vulnerability poses a significant risk to organizations running WordPress sites with the vulnerable File Manager Advanced Shortcode plugin. Successful exploitation can lead to arbitrary code execution on the web server, potentially allowing attackers to fully compromise the affected website, steal sensitive data such as user credentials or proprietary information, and bypass security controls. Because the attack requires administrator-level access, the threat is primarily from insiders or attackers who have already compromised lower-level accounts and escalated privileges. However, given the widespread use of WordPress and the popularity of file management plugins, the vulnerability could be leveraged in targeted attacks against high-value websites, including e-commerce platforms, corporate portals, and content management systems. The ability to execute arbitrary JavaScript also raises the risk of persistent cross-site scripting (XSS) attacks affecting site visitors. The overall impact includes loss of data confidentiality, integrity, and availability, damage to organizational reputation, and potential regulatory compliance violations.
Mitigation Recommendations
Organizations should immediately update the File Manager Advanced Shortcode plugin to version 2.6.0 or later, which contains the fix for this path traversal vulnerability. Beyond patching, administrators should audit user privileges to ensure that only trusted personnel have administrator-level access, minimizing the risk of insider exploitation. Implement strict input validation and sanitization on all shortcode parameters if custom modifications exist. Employ Web Application Firewalls (WAFs) with rules designed to detect and block path traversal attempts and suspicious file inclusion patterns. Regularly monitor server logs for unusual file access or inclusion activities. Additionally, restrict file upload types and enforce content-type validation to prevent uploading executable scripts disguised as safe file types. Conduct periodic security assessments and penetration testing focused on plugin vulnerabilities. Finally, maintain a robust backup and incident response plan to quickly recover from potential compromises.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands
CVE-2024-13914: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in WP Experts File Manager Advanced Shortcode
Description
The File Manager Advanced Shortcode plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.5.4 (file-manager-advanced-shortcode) and 2.5.6 (advanced-file-manager-pro-premium), via the 'file_manager_advanced' shortcode. This makes it possible for authenticated attackers, with Administrator-level access and above, to include and execute arbitrary JavaScript files on the server. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included. Sites currently using 2.5.4 (file-manager-advanced-shortcode) should be updated to 2.6.0 (advanced-file-manager-pro-premium).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-13914 is a path traversal vulnerability (CWE-22) found in the WP Experts File Manager Advanced Shortcode plugin for WordPress, affecting all versions up to 2.5.4 (file-manager-advanced-shortcode) and 2.5.6 (advanced-file-manager-pro-premium). The flaw exists in the handling of the 'file_manager_advanced' shortcode, which does not properly restrict pathname inputs to a safe directory. This allows an authenticated attacker with administrator-level privileges to perform Local File Inclusion (LFI) attacks by manipulating the shortcode parameters to include arbitrary JavaScript files from the server. Such inclusion can lead to execution of malicious scripts, bypassing normal access controls, exposing sensitive information, or enabling further code execution on the server. The vulnerability is particularly dangerous because it leverages the plugin's file upload and inclusion features, which may allow attackers to upload seemingly safe file types (e.g., images) and then execute them as scripts. The CVSS v3.1 base score is 7.2, reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The vulnerability was publicly disclosed in May 2025, with no known exploits in the wild at the time of publication. The recommended remediation is to upgrade affected installations to version 2.6.0 of the plugin, which addresses the path traversal issue.
Potential Impact
This vulnerability poses a significant risk to organizations running WordPress sites with the vulnerable File Manager Advanced Shortcode plugin. Successful exploitation can lead to arbitrary code execution on the web server, potentially allowing attackers to fully compromise the affected website, steal sensitive data such as user credentials or proprietary information, and bypass security controls. Because the attack requires administrator-level access, the threat is primarily from insiders or attackers who have already compromised lower-level accounts and escalated privileges. However, given the widespread use of WordPress and the popularity of file management plugins, the vulnerability could be leveraged in targeted attacks against high-value websites, including e-commerce platforms, corporate portals, and content management systems. The ability to execute arbitrary JavaScript also raises the risk of persistent cross-site scripting (XSS) attacks affecting site visitors. The overall impact includes loss of data confidentiality, integrity, and availability, damage to organizational reputation, and potential regulatory compliance violations.
Mitigation Recommendations
Organizations should immediately update the File Manager Advanced Shortcode plugin to version 2.6.0 or later, which contains the fix for this path traversal vulnerability. Beyond patching, administrators should audit user privileges to ensure that only trusted personnel have administrator-level access, minimizing the risk of insider exploitation. Implement strict input validation and sanitization on all shortcode parameters if custom modifications exist. Employ Web Application Firewalls (WAFs) with rules designed to detect and block path traversal attempts and suspicious file inclusion patterns. Regularly monitor server logs for unusual file access or inclusion activities. Additionally, restrict file upload types and enforce content-type validation to prevent uploading executable scripts disguised as safe file types. Conduct periodic security assessments and penetration testing focused on plugin vulnerabilities. Finally, maintain a robust backup and incident response plan to quickly recover from potential compromises.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-03-01T00:07:02.857Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0fb1484d88663aec5bf
Added to database: 5/20/2025, 6:59:07 PM
Last enriched: 2/28/2026, 7:59:04 AM
Last updated: 3/25/2026, 9:25:52 PM
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.