Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12025: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in robfelty Collapsing Categories

0
High
VulnerabilityCVE-2024-12025cvecve-2024-12025cwe-89
Published: Wed Dec 18 2024 (12/18/2024, 03:22:05 UTC)
Source: CVE Database V5
Vendor/Project: robfelty
Product: Collapsing Categories

Description

CVE-2024-12025 is a high-severity SQL Injection vulnerability affecting the Collapsing Categories WordPress plugin up to version 3. 0. 8. The flaw exists in the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/get REST API endpoint, which does not properly sanitize user input. This allows unauthenticated attackers to inject malicious SQL code, potentially extracting sensitive database information. The vulnerability requires no authentication or user interaction and can be exploited remotely over the network. Although no known exploits are currently reported in the wild, the ease of exploitation and high impact on confidentiality make this a critical concern for WordPress sites using this plugin. Organizations should prioritize patching or applying mitigations to prevent data leakage. Countries with significant WordPress usage and high adoption of this plugin are at elevated risk. Immediate action is recommended to mitigate potential data breaches and protect sensitive information.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:55:46 UTC

Technical Analysis

CVE-2024-12025 is a SQL Injection vulnerability identified in the Collapsing Categories plugin for WordPress, maintained by robfelty. The vulnerability arises from improper neutralization of special elements in SQL commands (CWE-89) due to insufficient escaping and lack of prepared statements in handling the 'taxonomy' parameter of the plugin's REST API endpoint (/wp-json/collapsing-categories/v1/get). This flaw allows unauthenticated remote attackers to append arbitrary SQL queries to the existing database query, enabling extraction of sensitive data such as user credentials, configuration details, or other confidential information stored in the WordPress database. The vulnerability affects all versions up to and including 3.0.8. The CVSS v3.1 base score is 7.5, reflecting a high severity with network attack vector, no privileges required, no user interaction, and a high impact on confidentiality but no impact on integrity or availability. No patches or fixes are currently linked, and no known exploits have been reported in the wild as of the publication date. The vulnerability's exploitation scope is broad due to the widespread use of WordPress and its plugins, making it a significant risk for websites relying on this plugin for taxonomy management.

Potential Impact

The primary impact of CVE-2024-12025 is unauthorized disclosure of sensitive information from the WordPress database. Attackers exploiting this vulnerability can extract confidential data such as user credentials, personal information, or site configuration details, potentially leading to further compromise or data breaches. Since the vulnerability requires no authentication and can be triggered remotely, it significantly increases the attack surface for affected websites. While the vulnerability does not directly affect data integrity or availability, the exposure of sensitive data can lead to reputational damage, regulatory penalties, and loss of customer trust. Organizations running WordPress sites with the Collapsing Categories plugin are at risk of targeted attacks, especially those handling sensitive user data or operating in regulated industries. The lack of known active exploits provides a window for proactive mitigation, but the ease of exploitation and high confidentiality impact necessitate urgent attention.

Mitigation Recommendations

1. Immediate mitigation involves disabling or removing the Collapsing Categories plugin until a secure patched version is released. 2. Monitor official plugin repositories and vendor announcements for updates or patches addressing CVE-2024-12025 and apply them promptly. 3. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious requests targeting the vulnerable REST API endpoint, especially those containing SQL injection patterns in the 'taxonomy' parameter. 4. Restrict access to the REST API endpoint via IP whitelisting or authentication mechanisms where feasible to reduce exposure. 5. Conduct regular security audits and database monitoring to detect unusual query patterns or data exfiltration attempts. 6. Educate site administrators on the risks of installing unvetted plugins and maintaining up-to-date software. 7. Implement least privilege principles for database users to limit the impact of potential SQL injection attacks. 8. Backup website and database regularly to enable recovery in case of compromise.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-02T14:43:21.117Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e2ab7ef31ef0b5970ca

Added to database: 2/25/2026, 9:48:26 PM

Last enriched: 2/26/2026, 4:55:46 AM

Last updated: 2/26/2026, 7:37:35 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats