CVE-2024-13897 Moving Media Library <= 1.22 - Authenticated (Administrator+) Directory Traversal to Arbitrary File Deletion
Authenticated administrators can delete arbitrary files via path traversal, potentially leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-13897?
CVE-2024-13897 is a medium-severity path traversal vulnerability in katsushi-kawamori Moving Media Library, published on 6 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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 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).
Weakness: CWE-22
Which versions are affected by CVE-2024-13897?
How do I fix CVE-2024-13897?
No fix has been published for CVE-2024-13897 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-13897 being exploited?
There is no known exploitation of CVE-2024-13897 in the wild and no public exploit code.
Sources
Also known as GHSA-h47c-w329-qc9g.