Medium severity · published Jan 8, 2026
CVE-2025-12640
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager <= 3.1.5 - Missing Authorization to Authenticated (Author+) Media Replacement
4.3
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FU
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager · premio
through 3.1.5 · source: vendor
Affected product
FU
Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager
premio
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-12640
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-12640
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset/3402986/folders/tags/3.1.6/includes/media.replace.php
www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/ac6432a4-6597-4d1e-b63d-c007a301d1b2?source=cve
More from Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager
7.2
CVE-2023-40204
WordPress Folders Plugin <= 2.9.2 is vulnerable to Arbitrary File Upload
5.4
CVE-2024-7317
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
5.4
CVE-2024-3868
Folders Pro <= 3.0.2 - Authenticated (Subscriber+) Stored Cross-Site Scripting via User First Name and Last Name
4.3
CVE-2025-12971
Folders <= 3.1.5 - Incorrect Authorization to Authenticated (Contributor+) Folder Content Manipulation
4.3
CVE-2024-2023
Folders <= 3.0 and Folders Pro <= 3.0.2 - Directory Traversal via handle_folders_file_upload
