Shortcode Toggle Security & Risk Analysis

wordpress.org/plugins/shortcode-toggle

Add Useful Toggle Menu to your blog simply by shortcode.

100 active installs v1.0.9 PHP + WP 3.0+ Updated Mar 10, 2014
menushortcodetoggle
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Shortcode Toggle Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 12yr ago
Risk Assessment

The "shortcode-toggle" plugin v1.0.9 exhibits a generally good security posture due to the absence of known vulnerabilities and the use of prepared statements for all SQL queries. The static analysis shows no critical or high-severity issues in taint analysis, and no dangerous functions or file operations were detected. This suggests a well-written and secure codebase at first glance.

However, a significant concern arises from the complete lack of output escaping for its sole shortcode. This creates a direct risk of Cross-Site Scripting (XSS) vulnerabilities, as any user-supplied data rendered by the shortcode could be executed as JavaScript in the context of the user's browser. Furthermore, the absence of nonce and capability checks for the shortcode, while not directly flagged as an entry point in this analysis due to the focus on AJAX and REST API, is a general security weakness. If the shortcode performs any sensitive actions, it would be vulnerable to CSRF attacks or unauthorized execution by unprivileged users.

The lack of any recorded vulnerabilities in its history is a positive indicator, suggesting the developers have maintained a secure product. Nevertheless, the identified output escaping and potential for nonce/capability checks to be missing on its single entry point are critical weaknesses that must be addressed to ensure robust security.

Key Concerns

  • 100% of outputs not properly escaped
  • 0 nonce checks on entry points
  • 0 capability checks on entry points
Vulnerabilities
None known

Shortcode Toggle Security Vulnerabilities

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

Shortcode Toggle Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Shortcode Toggle Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[toggle] shortcode-toggle.php:72
WordPress Hooks 6
actionadmin_menuhelp.php:5
actionplugins_loadedshortcode-toggle.php:42
actionwp_enqueue_scriptsshortcode-toggle.php:56
actionadmin_enqueue_scriptsshortcode-toggle.php:57
actionwp_enqueue_scriptsshortcode-toggle.php:62
actionadmin_enqueue_scriptsshortcode-toggle.php:63
Maintenance & Trust

Shortcode Toggle Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedMar 10, 2014
PHP min version
Downloads6K

Community Trust

Rating100/100
Number of ratings7
Active installs100
Developer Profile

Shortcode Toggle Developer Profile

Arefly

24 plugins · 2K total installs

86
trust score
Avg Security Score
88/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Shortcode Toggle

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/shortcode-toggle/style.min.css/wp-content/plugins/shortcode-toggle/script.min.js
Script Paths
/wp-content/plugins/shortcode-toggle/script.min.js
Version Parameters
shortcode-toggle/style.min.css?ver=shortcode-toggle/script.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
toggle_titletoggle_content
Shortcode Output
<div class="toggle_title"></div><div class="toggle_content"></div>
FAQ

Frequently Asked Questions about Shortcode Toggle