CatFolders WordPress Plugin SQL Injection Vulnerability in CSV Import

Vulnerability

A time-based SQL injection vulnerability has been identified in the CatFolders WordPress plugin, specifically in versions through 2.5.2. The issue arises from inadequate escaping of user-supplied data and insufficient preparation of SQL queries, allowing authenticated attackers with Author-level access or higher to inject additional SQL commands. This exploitation could lead to unauthorized access to sensitive database information.

Impact

Exploitation of this vulnerability allows for time-based SQL injection, where an attacker can manipulate SQL queries to extract sensitive information from the database.

Reproduction

To reproduce this vulnerability, an authenticated user with Author-level access or higher can upload a CSV file through the WordPress REST API. The 'import_csv' endpoint of the 'ImportController' class can be used for this purpose. The CSV file should be crafted to include SQL injection payloads that exploit the vulnerable SQL query handling in the 'FolderModel' class.

Remediation

Users are advised to update the CatFolders WordPress plugin to version 2.5.3 or later.

Added: Sep 11, 2025, 5:18 AM
Updated: Sep 11, 2025, 5:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.