Media Library Folders <= 8.3.6 - Insecure Direct Object Reference to Authenticated (Author+) Arbitrary Attachment Deletion and Rename
Strategic Overview
- Status
- Patched in 8.3.7
- Affected Plugin
- Media Library Folders
- Affected Version
<= 8.3.6- CVSS
- 4.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2026-2312
At a glance
CVE-2026-2312 is a medium-severity Missing Authorization vulnerability in the Media Library Folders WordPress plugin, affecting versions <= 8.3.6. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Author level or above. The issue is fixed in version 8.3.7; sites on affected versions should update now. Disclosed February 2026, reported by shivanandsnaidu.
Vulnerability Overview
The Media Library Folders plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 8.3.6 via the delete_maxgalleria_media() and maxgalleria_rename_image() functions due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Author-level access and above, to delete or rename attachments owned by other users (including administrators). The rename flow also deletes all postmeta for the target attachment, causing data loss.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-862: Missing Authorization
Media Library Folders <= 8.3.6 carries this weakness at delete_maxgalleria_media(), and reaching it takes an account at Author level or above. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Media Library Folders the fix is 8.3.7: builds <= 8.3.6 are affected, anything from 8.3.7 onward is not.
Remediation
Update to version 8.3.7, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Media Library Folders 8.3.7 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Media Library Folders
- 9.9CVE-2024-30486: Media Library Folders <= 8.1.7 SQL Injection
CVE-2024-30486 - 8.8CVE-2022-41634: Media Library Folders <= 7.1.1 CSRF
CVE-2022-41634 - 6.5CVE-2024-7857: Media Library Folders Second-Order SQL Injection
CVE-2024-7857 - 6.1CVE-2024-3615: Media Library Folders <= 8.2.0 Reflected XSS
CVE-2024-3615 - 4.3CVE-2024-31287: Media Library Folders <= 8.1.8 Directory Traversal
CVE-2024-31287
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C