Collapse Magic Security & Risk Analysis

wordpress.org/plugins/collapse-magic

The easy way to create a collapsible text block with a 'read-more' label on any page. Also provides a fading text option.

1K active installs v1.5.0 PHP 7.3+ WP 6.1+ Updated Feb 19, 2026
accordioncollapse-textfade-contentfade-textread-more-text
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Collapse Magic Safe to Use in 2026?

Generally Safe

Score 100/100

Collapse Magic has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The "collapse-magic" plugin v1.5.0 demonstrates a generally strong security posture based on the provided static analysis. The absence of dangerous functions, external HTTP requests, file operations, and SQL queries not using prepared statements are all positive indicators. The high percentage of properly escaped output further suggests good development practices in handling data displayed to users. A significant strength is the lack of any known vulnerabilities or CVEs in its history, implying a history of stable and secure development.

However, there are a few areas that warrant attention. The presence of two shortcodes as entry points, while not currently unprotected, represents a potential attack surface that could become a concern if future updates introduce vulnerabilities within their handling. The lack of any nonce checks, even on shortcodes which can sometimes lead to unintended actions, is a notable omission. While no critical taint flows or unsanitized paths were found, the analysis did not include any taint flows, making it impossible to definitively assess this area. The single capability check, while present, is not explicitly detailed, leaving a minor unknown regarding its robustness.

Overall, the plugin appears to be well-developed and has a clean security history. The primary areas for improvement are bolstering the security of the shortcode entry points with nonce checks and potentially expanding taint analysis to ensure no hidden vulnerabilities exist. The plugin's strengths in avoiding common pitfalls like raw SQL and dangerous functions are commendable.

Key Concerns

  • Shortcode entry points without specific nonce checks
  • No taint analysis performed (unknown risk)
  • Limited capability check details
Vulnerabilities
None known

Collapse Magic Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Collapse Magic Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
3
45 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

94% escaped48 total outputs
Attack Surface

Collapse Magic Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[expand] inc\collapse-magic-shortcodes.php:60
[magic_expand] inc\collapse-magic-shortcodes.php:61
WordPress Hooks 5
actionadmin_enqueue_scriptsclass.collapse-magic.php:26
actionadmin_initclass.collapse-magic.php:27
actionadmin_menuclass.collapse-magic.php:28
actionwp_dashboard_setupclass.collapse-magic.php:30
actionwp_enqueue_scriptsclass.collapse-magic.php:38
Maintenance & Trust

Collapse Magic Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 19, 2026
PHP min version7.3
Downloads11K

Community Trust

Rating74/100
Number of ratings6
Active installs1K
Developer Profile

Collapse Magic Developer Profile

Hub5050

6 plugins · 2K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
991 days
View full developer profile
Detection Fingerprints

How We Detect Collapse Magic

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/collapse-magic/css/collapse-magic.css/wp-content/plugins/collapse-magic/js/collapse-magic.js/wp-content/plugins/collapse-magic/css/collapse-magic-admin.css/wp-content/plugins/collapse-magic/js/collapse-magic-admin.js
Script Paths
/wp-content/plugins/collapse-magic/js/collapse-magic.js/wp-content/plugins/collapse-magic/js/collapse-magic-admin.js
Version Parameters
collapse-magic/css/collapse-magic.css?ver=collapse-magic/js/collapse-magic.js?ver=collapse-magic/css/collapse-magic-admin.css?ver=collapse-magic/js/collapse-magic-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
claps-contentclaps-header
Data Attributes
data-claps-iddata-claps-styledata-claps-closeddata-claps-opendata-claps-widthdata-claps-height+15 more
JS Globals
claps_debug
FAQ

Frequently Asked Questions about Collapse Magic