Shortcode Generator Security & Risk Analysis

wordpress.org/plugins/shortcode-generator

Generate as many shortcodes. Keep pages synchronized for split testing, or reuse a specific peice of code on multiple pages.

100 active installs v1.1 PHP + WP 2.8.0+ Updated Nov 17, 2009
cmsshortcodessplit-testingunlimitedwidgets
63
C · Use Caution
CVEs total1
Unpatched1
Last CVEJul 8, 2025
Safety Verdict

Is Shortcode Generator Safe to Use in 2026?

Use With Caution

Score 63/100

Shortcode Generator has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Jul 8, 2025Updated 16yr ago
Risk Assessment

The "shortcode-generator" v1.1 plugin presents a mixed security posture. While the static analysis indicates a minimal attack surface with no identified AJAX handlers, REST API routes, shortcodes, or cron events, significant concerns arise from the code signals. The presence of the `create_function` dangerous function is a red flag, as it can be a vector for code injection if not handled with extreme care. Furthermore, the complete lack of prepared statements for SQL queries and the very low percentage of properly escaped output (7%) are critical weaknesses, suggesting a high susceptibility to SQL injection and Cross-Site Scripting (XSS) vulnerabilities.

Taint analysis reveals two flows with unsanitized paths, which, while not classified as critical or high, still indicate potential for data leakage or unintended behavior. The vulnerability history, including a medium severity XSS vulnerability from July 2025 that remains unpatched, reinforces these concerns. This pattern of past vulnerabilities and the current unpatched state suggests a recurring issue with input validation and output sanitization within the plugin.

In conclusion, the plugin's apparent low attack surface is overshadowed by fundamental security flaws in its coding practices. The reliance on raw SQL queries, poor output escaping, and the use of dangerous functions, combined with a recent unpatched medium severity vulnerability, paint a picture of a plugin that requires significant attention to its security. While it doesn't exhibit critical or high severity issues in the current static analysis, the underlying technical debt poses a considerable risk.

Key Concerns

  • Unpatched medium severity CVE
  • Raw SQL queries without prepared statements
  • Low percentage of properly escaped output
  • Use of dangerous function 'create_function'
  • Flows with unsanitized paths found
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
1

Shortcode Generator Security Vulnerabilities

CVEs by Year

1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-49945medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Shortcode Generator <= 1.1 - Reflected Cross-Site Scripting

Jul 8, 2025Unpatched
Code Analysis
Analyzed Mar 16, 2026

Shortcode Generator Code Analysis

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

Dangerous Functions Found

create_functionadd_shortcode($code,create_function('$atts,$content=null','$value = "'.$sc->value.'"; return do_shorshortcode-generator.php:30

SQL Query Safety

0% prepared4 total queries

Output Escaping

7% escaped41 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
<edit> (admin\edit.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Shortcode Generator Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionadmin_menushortcode-generator.php:24
actionwidgets_initshortcode-generator.php:25
Maintenance & Trust

Shortcode Generator Maintenance & Trust

Maintenance Signals

WordPress version tested2.8.6
Last updatedNov 17, 2009
PHP min version
Downloads13K

Community Trust

Rating60/100
Number of ratings2
Active installs100
Developer Profile

Shortcode Generator Developer Profile

kylegetson

2 plugins · 140 total installs

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

How We Detect Shortcode Generator

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

Asset Fingerprints

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

HTML / DOM Fingerprints

CSS Classes
widget_many
Data Attributes
data-widget-id
JS Globals
scg_widget_many
Shortcode Output
<div class="updated fade"><p><strong>
FAQ

Frequently Asked Questions about Shortcode Generator