cbcvebase.
CVE-2024-12025
published 2024-12-18

CVE-2024-12025: The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/get REST…

PriorityP180high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
2.54%
83.0th percentile
The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/get REST API in all versions up to, and including, 3.0.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes 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.

Affected

1 ranges
VendorProductVersion rangeFixed in
robfeltycollapsing_categories<= 3.0.8

Detection & IOCsextracted from sources · hover to see the quote

url/wp-json/collapsing-categories/v1/get
othertaxonomy parameter with SQL injection payload (e.g., taxonomy=8')
sigma
selection:
  - 'status_code == 200'
  - 'contains(body, "post_title")'
  - 'contains(content_type, "application/json")'
  • Monitor REST API requests to /wp-json/collapsing-categories/v1/get for anomalous or malformed 'taxonomy' parameter values, especially those containing SQL metacharacters (e.g., single quotes, UNION, SELECT keywords).
  • Successful exploitation responses will return HTTP 200 with Content-Type application/json and a body containing 'post_title', indicating database content exfiltration.
  • The endpoint is unauthenticated — no session or nonce is required, so any source IP can trigger exploitation. Prioritize alerting on requests from unauthenticated sessions hitting this endpoint with SQL-like payloads.
  • ·All versions up to and including 3.0.8 of the Collapsing Categories plugin are vulnerable. Ensure detection rules are scoped to sites running this plugin version range.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vulncheck7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.