Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager <= 3.1.5 - Missing Authorization to Authenticated (Author+) Media Replacement

4.3
Missing Authorization
CVE CVE-2025-12640
CVSS 4.3 (Medium)
Publicly Published January 7, 2026
Last Updated January 8, 2026
Researcher Md. Moniruzzaman Prodhan (NomanProdhan) - Knight Squad

Description

The Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager plugin for WordPress is vulnerable to Unauthorized Arbitrary Media Replacement in all versions up to, and including, 3.1.5. This is due to missing object-level authorization checks in the handle_folders_file_upload() function. This makes it possible for authenticated attackers, with Author-level access and above, to replace arbitrary media files from the WordPress Media Library.

References

Share

Vulnerability Details for Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager

Software Type Plugin
Software Slug folders (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1.6, or a newer patched version
Affected Version
  • <= 3.1.5
Patched Version
  • 3.1.6

Recent vulnerabilities in Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager

# Title CVE ID CVSS Researchers Date
1 Folders <= 3.1.5 - Incorrect Authorization to Authenticated (Contributor+) Folder Content Manipulation CVE-2025-12971 4.3 Dmitrii Ignatyev November 26, 2025
2 Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager <= 3.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via SVG File Upload CVE-2024-7317 6.4 wesley (wcraft) August 5, 2024
3 Folders <= 3.0 and Folders Pro <= 3.0.2 - Directory Traversal via handle_folders_file_upload CVE-2024-2023 4.3 Colin Xu June 13, 2024
4 Folders Pro <= 3.0.2 - Authenticated (Subscriber+) Stored Cross-Site Scripting via User First Name and Last Name CVE-2024-3868 5.4 mike harris (mikeyh) May 3, 2024
5 Folders <= 2.9.2 - Authenticated (Author+) Arbitrary File Upload in handle_folders_file_upload CVE-2023-40204 8.8 Rafie Muhammad August 28, 2023
6 Folders <= 2.9.2 - Authenticated (Author+) Arbitrary File Upload 8.8 August 25, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation