PT-2024-17406 · WordPress · Collapsing Categories
Michael Mazzolini
+1
·
Published
2024-12-18
·
Updated
2026-03-12
·
CVE-2024-12025
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Collapsing Categories plugin for WordPress versions up to, and including, 3.0.8
Description
The issue is related to SQL Injection via the
taxonomy parameter of the "/wp-json/collapsing-categories/v1/get" REST API. This is due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query, making it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.Recommendations
For versions up to, and including, 3.0.8, update to a version later than 3.0.8 to resolve the issue.
As a temporary workaround, consider restricting access to the "/wp-json/collapsing-categories/v1/get" API endpoint until a patch is available.
Avoid using the
taxonomy parameter in the affected API endpoint until the issue is resolved.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Collapsing Categories