WP Shortcodes API Security & Risk Analysis

wordpress.org/plugins/wordpress-shortcodes-api

Stores information about available shortcodes as an option and provides a method to easily add a media button with configurable options.

10 active installs v0.8 PHP + WP 3.0+ Updated Oct 18, 2012
shortcode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Shortcodes API Safe to Use in 2026?

Generally Safe

Score 85/100

WP Shortcodes API has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The wordpress-shortcodes-api plugin v0.8 exhibits a generally positive security posture, with no critical or high-severity vulnerabilities identified in its history or static analysis. The complete absence of dangerous functions, SQL injection risks (all queries use prepared statements), file operations, and external HTTP requests is commendable. The plugin also avoids common pitfalls like bundled libraries. However, a significant concern arises from the output escaping, where only 31% of outputs are properly escaped. This leaves a considerable portion of the plugin's output potentially vulnerable to cross-site scripting (XSS) attacks if user-supplied data is not sufficiently sanitized before being displayed. While the static analysis reports no direct taint flows or unsanitized paths, the low output escaping percentage represents a tangible risk that warrants attention. The lack of any recorded vulnerabilities in its history might indicate good development practices or a limited attack surface, but the insufficient output escaping is a clear weakness that could be exploited.

Key Concerns

  • Insufficient output escaping
Vulnerabilities
None known

WP Shortcodes API Security Vulnerabilities

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

WP Shortcodes API Code Analysis

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

Output Escaping

31% escaped13 total outputs
Attack Surface

WP Shortcodes API Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[demo] demo_shortcode.php:14
[demo] demo_shortcode.php:27
WordPress Hooks 2
actionplugins_loadedwp-shortcodes-api.php:30
actionmedia_buttonswp-shortcodes-api.php:252
Maintenance & Trust

WP Shortcodes API Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedOct 18, 2012
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Shortcodes API Developer Profile

smccafferty

2 plugins · 20 total installs

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

How We Detect WP Shortcodes API

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wordpress-shortcodes-api/js/shortcode-media-button.js/wp-content/plugins/wordpress-shortcodes-api/css/shortcode-media-button.css
Script Paths
/wp-content/plugins/wordpress-shortcodes-api/js/shortcode-media-button.js
Version Parameters
wordpress-shortcodes-api/css/shortcode-media-button.css?ver=wordpress-shortcodes-api/js/shortcode-media-button.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-shortcodedata-titledata-icondata-introdata-input-atts
JS Globals
WP_Shortcodes_Media_Button
FAQ

Frequently Asked Questions about WP Shortcodes API