CVE-2025-9776 SQL injection in CatFolders – WordPress Media Library Folders & Categories

Medium 6.5 Published Updated

Authenticated attackers with Author-level access can exploit SQL injection in the CSV import feature to extract sensitive database information.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-9776?

CVE-2025-9776 is a medium-severity SQL injection vulnerability in CatFolders – WordPress Media Library Folders & Categories, published on 11 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The CatFolders – Tame Your WordPress Media Library by Category plugin for WordPress is vulnerable to time-based SQL Injection via the CSV Import contents in all versions up to, and including, 2.5.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 Author-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Weakness: CWE-89

Which versions are affected by CVE-2025-9776?

How do I fix CVE-2025-9776?

No fix has been published for CVE-2025-9776 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-9776 being exploited?

There is no known exploitation of CVE-2025-9776 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5fh8-4m47-rr4m.

Is CVE-2025-9776 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free