CVE-2024-7857: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in maxfoundry Media Library Folders
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.
AI Analysis
Technical Summary
The Media Library Folders plugin for WordPress suffers from a second order SQL Injection vulnerability via the 'sort_type' parameter in the 'mlf_change_sort_type' AJAX action. This flaw is due to insufficient escaping of user input and inadequate preparation of the existing SQL query, enabling authenticated users with subscriber-level privileges or above to append malicious SQL code. This can be exploited to extract sensitive information from the database without impacting availability or integrity. The CVSS 3.1 base score is 6.5, reflecting a network attack vector with low attack complexity and requiring privileges. No patch or vendor advisory is currently available to confirm remediation status.
Potential Impact
Successful exploitation allows an authenticated user with subscriber-level access or higher to perform SQL Injection attacks that can extract sensitive information from the database. The vulnerability does not affect system availability or integrity but compromises confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
CVE-2024-7857: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in maxfoundry Media Library Folders
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Media Library Folders plugin for WordPress suffers from a second order SQL Injection vulnerability via the 'sort_type' parameter in the 'mlf_change_sort_type' AJAX action. This flaw is due to insufficient escaping of user input and inadequate preparation of the existing SQL query, enabling authenticated users with subscriber-level privileges or above to append malicious SQL code. This can be exploited to extract sensitive information from the database without impacting availability or integrity. The CVSS 3.1 base score is 6.5, reflecting a network attack vector with low attack complexity and requiring privileges. No patch or vendor advisory is currently available to confirm remediation status.
Potential Impact
Successful exploitation allows an authenticated user with subscriber-level access or higher to perform SQL Injection attacks that can extract sensitive information from the database. The vulnerability does not affect system availability or integrity but compromises confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-08-15T17:30:44.761Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c20b7ef31ef0b56035f
Added to database: 2/25/2026, 9:39:44 PM
Last enriched: 4/9/2026, 8:21:53 AM
Last updated: 4/11/2026, 9:28:53 PM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.