Snippet Shortcodes Security & Risk Analysis

wordpress.org/plugins/shortcode-variables

Create a library of custom shortcodes and reusable content, and seamlessly insert them into your posts and pages.

4K active installs v5.1.3 PHP 7.4+ WP 6.0+ Updated Mar 19, 2026
customlibraryshortcodesnippetvariable
99
A · Safe
CVEs total2
Unpatched0
Last CVEDec 11, 2024
Download
Safety Verdict

Is Snippet Shortcodes Safe to Use in 2026?

Generally Safe

Score 99/100

Snippet Shortcodes has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

2 known CVEsLast CVE: Dec 11, 2024Updated 2mo ago
Risk Assessment

The "shortcode-variables" plugin version 5.1.2 exhibits a mixed security posture. While the plugin demonstrates good practices by having all identified entry points (AJAX handlers, REST API routes, shortcodes) protected by some form of authentication or capability check, and a high percentage of SQL queries utilizing prepared statements, several areas raise concerns. The output escaping is a significant weakness, with less than half of the outputs being properly sanitized, potentially exposing the site to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is involved in these outputs.

The taint analysis, while not revealing critical or high-severity issues, did identify three flows with unsanitized paths. Combined with the historically known vulnerabilities, particularly medium-severity ones related to Missing Authorization and CSRF, this suggests a recurring pattern of subtle security oversights. The presence of external HTTP requests also warrants careful monitoring, although their context and security are not detailed here.

In conclusion, the plugin has strengths in its foundational security measures like prepared statements and auth checks on entry points. However, the poor output escaping and the history of authorization and CSRF vulnerabilities, alongside the taint analysis findings, indicate that ongoing vigilance and potential future patching are necessary to maintain a secure environment.

Key Concerns

  • Low output escaping percentage
  • Taint flows with unsanitized paths
  • History of medium severity CVEs
Vulnerabilities
2 published

Snippet Shortcodes Security Vulnerabilities

CVEs by Year

2 CVEs in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2024-12018medium · 4.3Missing Authorization

Snippet Shortcodes <= 4.1.6 - Authenticated (Subscriber+) Shortcode Deletion

Dec 11, 2024 Patched in 4.1.7 (1d)
CVE-2024-4543medium · 4.3Cross-Site Request Forgery (CSRF)

Snippet Shortcodes <= 4.1.4 - Cross-Site Request Forgery

Jul 2, 2024 Patched in 4.1.5 (1d)
Version History

Snippet Shortcodes Release Timeline

v5.1.3Current
v5.1.2
v5.1.1
v5.1
v5.0.1
v5.0a
v4.2.5
v4.2.4
v4.2.3
v4.2.2.1
v4.2.2
v4.1.7
v4.1.61 CVE
v4.1.51 CVE
Code Analysis
Analyzed Mar 16, 2026

Snippet Shortcodes Code Analysis

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

Bundled Libraries

TinyMCE

SQL Query Safety

73% prepared15 total queries

Output Escaping

47% escaped145 total outputs
Data Flows · Security
3 unsanitized

Data Flow Analysis

7 flows3 with unsanitized paths
sh_cd_prompt_to_upgrade_premium (includes\marketing.php:48)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Snippet Shortcodes Attack Surface

Entry Points16
Unprotected0

AJAX Handlers 6

authwp_ajax_toggle_statusincludes\hooks.php:156
authwp_ajax_delete_shortcodeincludes\hooks.php:178
authwp_ajax_toggle_multisiteincludes\hooks.php:204
authwp_ajax_update_shortcodeincludes\hooks.php:231
authwp_ajax_add_shortcodeincludes\hooks.php:266
authwp_ajax_sh_cd_dismiss_noticeincludes\marketing.php:471

Shortcodes 10

[sv-promo] includes\shortcode.marketing.php:27
[sv-promo-free] includes\shortcode.marketing.php:39
[sv-promo-premium] includes\shortcode.marketing.php:51
[sv-version] includes\shortcode.marketing.php:63
[sv-promo-premium-features] includes\shortcode.marketing.php:75
[sv-promo-premium-shortcodes-as-list] includes\shortcode.marketing.php:95
[sv-promo-all] includes\shortcode.marketing.php:107
[yeken-license-price] includes\shortcode.marketing.php:181
[shortcode-variables] includes\shortcode.user.php:19
[s-var] includes\shortcode.user.php:20
WordPress Hooks 13
actionadmin_menuincludes\hooks.php:32
actionadmin_enqueue_scriptsincludes\hooks.php:71
actionadmin_initincludes\hooks.php:129
filternav_menu_item_titleincludes\hooks.php:277
actionadmin_noticesincludes\marketing.php:43
actionadmin_noticesincludes\marketing.php:94
actionadmin_noticesincludes\marketing.php:452
actionadmin_enqueue_scriptsincludes\pages\page.edit.php:169
actionadmin_initincludes\pages\page.settings.php:123
filtermce_external_pluginsincludes\tinymce.php:18
filtermce_buttonsincludes\tinymce.php:19
actionadmin_headincludes\tinymce.php:24
actionplugins_loadedshortcode-variables.php:50
Maintenance & Trust

Snippet Shortcodes Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 19, 2026
PHP min version7.4
Downloads125K

Community Trust

Rating94/100
Number of ratings25
Active installs4K
Developer Profile

Snippet Shortcodes Developer Profile

YeKen

1 plugin · 4K total installs

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

How We Detect Snippet Shortcodes

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/shortcode-variables/assets/css/sh-cd-dashicon.css/wp-content/plugins/shortcode-variables/assets/js/marketing.js/wp-content/plugins/shortcode-variables/assets/zerbratooltips/zebra_tooltips.min.js/wp-content/plugins/shortcode-variables/assets/zerbratooltips/zebra_tooltips.min.css/wp-content/plugins/shortcode-variables/assets/css/sh-cd.css/wp-content/plugins/shortcode-variables/assets/fontawesome/css/fontawesome.min.css/wp-content/plugins/shortcode-variables/assets/fontawesome/css/solid.min.css/wp-content/plugins/shortcode-variables/assets/fontawesome/css/regular.min.css+3 more
Script Paths
/wp-content/plugins/shortcode-variables/assets/js/marketing.js/wp-content/plugins/shortcode-variables/assets/zerbratooltips/zebra_tooltips.min.js/wp-content/plugins/shortcode-variables/assets/js/clipboard.min.js/wp-content/plugins/shortcode-variables/assets/js/sh-cd.js
Version Parameters
sh-cd-dashicon?ver=sh-cd-marketing?ver=zebra_tooltips.min.js?ver=zebra_tooltips.min.css?ver=sh-cd.css?ver=fontawesome.min.css?ver=solid.min.css?ver=regular.min.css?ver=brands.min.css?ver=clipboard.min.js?ver=sh-cd.js?ver=

HTML / DOM Fingerprints

CSS Classes
sh-cd-admin-notice-wrapper
JS Globals
sh_cd
FAQ

Frequently Asked Questions about Snippet Shortcodes