A Shortcode Tester Security & Risk Analysis

wordpress.org/plugins/shortcode-tester

The Shortcode Tester is a post editor tool for WordPress developers that displays in a popup window the HTML generated by WordPress shortcodes, i.e.

10 active installs v1.2.2 PHP + WP 3.6+ Updated Jan 3, 2020
shortcodetestertool
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is A Shortcode Tester Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The "shortcode-tester" plugin, version 1.2.2, exhibits a strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the plugin's attack surface, with zero identified entry points. The code signals also indicate good practices, with 100% of SQL queries using prepared statements and a nonce check present. There are no critical or high severity taint flows detected, and the plugin has no recorded vulnerability history. This suggests a well-developed and secure plugin in its current state. However, a significant concern arises from the lack of output escaping, with 0% of the 3 identified outputs being properly escaped. This presents a potential Cross-Site Scripting (XSS) vulnerability if user-controlled data is ever introduced into these output contexts, even with the limited attack surface. Furthermore, the absence of capability checks for the single nonce check means that any authenticated user, regardless of their role, could potentially trigger the functionality secured by the nonce. While the current data indicates no known vulnerabilities, the output escaping deficiency is a notable weakness that should be addressed.

Key Concerns

  • No proper output escaping
  • Nonce check without capability check
Vulnerabilities
None known

A Shortcode Tester Security Vulnerabilities

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

A Shortcode Tester Code Analysis

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

Output Escaping

0% escaped3 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<shortcode-tester> (shortcode-tester.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

A Shortcode Tester Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 18
actionadmin_noticesshortcode-tester-loader.php:36
actiontemplate_redirectshortcode-tester.php:58
actionmedia_buttonsshortcode-tester.php:99
actionadmin_enqueue_scriptsshortcode-tester.php:106
actionadmin_footer-post.phpshortcode-tester.php:167
actionadmin_footer-post-new.phpshortcode-tester.php:168
actionload-post-new.phpshortcode-tester.php:172
actionload-post.phpshortcode-tester.php:173
filterthe_titleshortcode-tester.php:452
filterthe_contentshortcode-tester.php:458
filterthe_contentshortcode-tester.php:467
actionloop_endshortcode-tester.php:473
actionwp_body_openshortcode-tester.php:493
filterget_edit_post_linkshortcode-tester.php:501
actionget_sidebarshortcode-tester.php:522
actionget_footershortcode-tester.php:538
filtershow_admin_barshortcode-tester.php:572
actiontemplate_redirectshortcode-tester.php:575
Maintenance & Trust

A Shortcode Tester Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedJan 3, 2020
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

A Shortcode Tester Developer Profile

Magenta Cuda

4 plugins · 40 total installs

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

How We Detect A Shortcode Tester

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/shortcode-tester/css/mf2tk_macros_admin.css/wp-content/plugins/shortcode-tester/js/mf2tk_macros_admin.js
Script Paths
/wp-content/plugins/shortcode-tester/js/mf2tk_macros_admin.js
Version Parameters
shortcode-tester/css/mf2tk_macros_admin.css?ver=shortcode-tester/js/mf2tk_macros_admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
sct_ix-popupsct_ix-headingsct_ix-instructions
HTML Comments
<!-- ##### ACTION:wp_body_open --><!-- ##### FILTER:the_content start --><!-- ##### FILTER:the_content end --><!-- ##### ACTION:loop_end -->+3 more
Data Attributes
id="sct_ix-shortcode-tester"id="sct_ix-popup_margin"id="mf2tk-shortcode-tester"id="button-mf2tk-shortcode-tester-close"data-nonce
JS Globals
mf2tk_macros_admin
FAQ

Frequently Asked Questions about A Shortcode Tester