CVE-2024-13897
Published: 06 March 2025
Summary
CVE-2024-13897 is a medium-severity Path Traversal (CWE-22) vulnerability in Wordpress (inferred from references). Its CVSS base score is 6.5 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique File Deletion (T1070.004); ranked in the top 5.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
The Moving Media Library plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the generate_json_page function. The flaw affects all versions up to and including 1.22 and is tracked as CWE-22 path traversal with a CVSS 3.1 score of 6.5.
Authenticated attackers holding Administrator privileges or higher can supply crafted input to delete arbitrary files on the underlying server. Successful exploitation can remove critical files such as wp-config.php and thereby enable remote code execution.
Public references include the vulnerable code path in the plugin repository, a changeset that addresses the issue in class-movingmedialibraryadmin.php, and the corresponding Wordfence advisory; administrators should apply the available patch or upgrade to a corrected release to eliminate the path-validation weakness.
EPSS remains flat at 0.1499 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-6112
Vulnerability details
The Moving Media Library plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the generate_json_page function in all versions up to, and including, 1.22. This makes it possible for authenticated attackers, with Administrator-level…
more
access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Arbitrary file deletion via path traversal directly enables T1070.004 (File Deletion) and T1485 (Data Destruction), with potential for availability impact or RCE via critical file removal.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly mitigates the vulnerability by requiring timely patching of the Moving Media Library plugin to fix the path traversal flaw.
Enforces validation of file path inputs in the generate_json_page function to prevent arbitrary file deletion via path traversal.
Limits the scope of administrator privileges to reduce the number of users able to exploit the vulnerability for arbitrary file deletion.