
Collapsing Categories Security & Risk Analysis
wordpress.org/plugins/collapsing-categoriesAdds a widget which uses Javascript to dynamically expand or collapse the set of posts for each category.
Is Collapsing Categories Safe to Use in 2026?
Generally Safe
Score 98/100Collapsing Categories has a strong security track record. Known vulnerabilities have been patched promptly.
The "collapsing-categories" plugin version 3.0.12 exhibits a generally good security posture due to a lack of identified direct attack vectors in the static analysis. There are no exposed AJAX handlers, REST API routes, shortcodes, or cron events that are unprotected, significantly limiting the plugin's attack surface. The code also utilizes prepared statements for its single SQL query and has a high percentage of properly escaped output, which are positive indicators of secure coding practices. Furthermore, there are no identified taint flows with unsanitized paths, suggesting that data handling is likely robust against common injection vulnerabilities.
However, the plugin's security history presents a significant concern. It has a recorded high-severity vulnerability in its past, specifically an SQL injection issue, which was last patched relatively recently. While there are no currently unpatched CVEs, the presence of a historical high-severity SQL injection highlights a potential for such vulnerabilities to emerge if input validation or sanitization practices are not consistently applied. The lack of explicit nonce and capability checks, while not immediately exploitable due to the absence of other entry points, is a practice that can become a security risk if new entry points are added in future updates without proper authentication and authorization.
In conclusion, while the current version of "collapsing-categories" appears to be well-hardened against direct exploitation through common WordPress vulnerabilities and demonstrates good coding practices regarding SQL and output handling, the historical high-severity SQL injection vulnerability warrants a cautious approach. The absence of nonce and capability checks on the limited code base is a weakness that, while not presently critical, represents a potential area for future security concerns. Continued vigilance and thorough security reviews for any future updates are recommended.
Key Concerns
- Historical high severity SQL injection vulnerability
- Lack of nonce checks
- Lack of capability checks
Collapsing Categories Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
Collapsing Categories <= 3.0.8 - Unauthenticated SQL Injection
Collapsing Categories Code Analysis
SQL Query Safety
Output Escaping
Collapsing Categories Attack Surface
WordPress Hooks 6
Maintenance & Trust
Collapsing Categories Maintenance & Trust
Maintenance Signals
Community Trust
Collapsing Categories Alternatives
Recent Posts by Category Widget
recent-posts-by-category-widget
Just like the default Recent Posts widget except you can choose a category to pull posts from.
Expanding Archives
expanding-archives
This plugin adds a new widget where you can view your old posts by expanding certain years and months.
Categorized Tag Cloud
categorized-tag-cloud
A cloud with the most used tags in a sidebar widget, filtered by post category.
Collapsing Pages
collapsing-pages
This plugin uses Javascript to dynamically expand or collapsable the set of pages for each parent page.
Enhanced Categories
enhanced-categories
A plugin for wordpress which allows you to list your categories in a sexier way. Very useful when you have a great number of categories.
Collapsing Categories Developer Profile
7 plugins · 7K total installs
How We Detect Collapsing Categories
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/collapsing-categories/collapsFunctions.js/wp-content/plugins/collapsing-categories/symbols.phpHTML / DOM Fingerprints
widget-collapscat-topwidget-collapscat-These variables are part of the Collapsing Categories Plugin
Version: 3.0.12
$Id: collapscat.php 3459501 2026-02-12 03:57:29Z robfelty $
Copyright 2007-2024 Robert Felty (robfelty.com)collapsCatRootaddExpandCollapseCatexpandSymcollapseSymcollapsItemscollapsCatRoot<h2 class='widget-title'>Categories</h2><ul id='widget-collapscat-collapsCatRoot = document.querySelector( '#widget-collapscat-addExpandCollapseCat(collapsCatRoot, '