CVE-2024-7857: Media Library Folders (WordPress plugin) · SQL Injection
Affects Media Library Folders (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| maxfoundry Media Library Folders | Affected
| Fixed in– |
AI-suggested
Until an official fix is released, restrict subscriber-level user permissions where possible and monitor for suspicious activity related to the 'mlf_change_sort_type' AJAX action. Avoid exposing this plugin on publicly accessible sites without additional protective controls.
Description
The Media Library Folders plugin for WordPress is vulnerable to second order SQL Injection via the 'sort_type' parameter of the 'mlf_change_sort_type' AJAX action in all versions up to, and including, 8.2.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
References
- wordfence.com/threat-intel/vulnerabilities/id/d2266254-9281-4859-8630-f7bb5c0ead19?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3139954/media-library-plus/trunk/media-library-plus.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/media-library-plus/tags/8.2.2/media-library-plus.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/media-library-plus/tags/8.2.2/media-library-plus.php (opens in a new tab)