Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-7857: The Media Library Folders plugin for WordPress is vulnerable to second order SQL Injection via the 'sort_type'

33
Routine
MEDIUM 6.5UPGRADE

CVE-2024-7857 is a medium-severity flaw (CVSS 6.5) affecting media library folders. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 que

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.5% (top 61%)
CISA exploited listNo
WeaknessCWE-89
Published2024-08-29
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: maxfoundry

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

maxfoundry media library folders UPGRADE
Affected: < 8.2.3
Fixed in: 8.2.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy media-library-folders || rpm -q media-library-folders || media-library-folders --version
2. UPGRADE to 8.2.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade media-library-folders
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade media-library-folders
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-7857?

media library folders: upgrade to 8.2.3. Exact commands for each OS are on this page.

Is CVE-2024-7857 being exploited?

CVE-2024-7857 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-7857 affect?

CVE-2024-7857 affects media library folders. Severity is medium (CVSS 6.5). 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 t

How urgent is CVE-2024-7857?

Priority 33/100. No elevated risk signals yet.

Software pages

WordPress vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.