Smart YouTube and Twitch Embed Security & Risk Analysis

wordpress.org/plugins/swiftninjapro-youtube-embed

Easily embed responsive lazy loading YouTube/twitch videos, playlists, and channels using shortcodes. Also add a secondary fallback video for when vid …

60 active installs v2.3.7 PHP 5.2.4+ WP 3.0.1+ Updated Jan 14, 2021
embediframetwitchvideoyoutube
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Smart YouTube and Twitch Embed Safe to Use in 2026?

Generally Safe

Score 85/100

Smart YouTube and Twitch Embed has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

Based on the static analysis, the "swiftninjapro-youtube-embed" plugin v2.3.7 exhibits a strong security posture. The complete absence of direct entry points like AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the potential attack surface. Furthermore, the code demonstrates good security practices by using prepared statements for all SQL queries and properly escaping a high percentage of its output. The lack of dangerous functions, file operations, and external HTTP requests further strengthens its security. Taint analysis also reveals no critical or high severity flows with unsanitized paths, indicating a low risk of injection vulnerabilities.

The vulnerability history also contributes positively to the plugin's security assessment, showing no previously recorded CVEs. This suggests a consistent track record of secure development. The presence of capability checks, while not explicitly detailing their implementation, implies an effort to enforce permissions where applicable.

Overall, this plugin appears to be well-secured with no immediate critical risks identified in the provided static analysis. The limited attack surface and adherence to secure coding practices are significant strengths. The only minor point of consideration would be the 20% of output that is not properly escaped, which could potentially lead to minor cross-site scripting vulnerabilities if the unescaped data originates from an untrusted source, though the lack of entry points makes this less likely.

Key Concerns

  • Output not properly escaped (20%)
Vulnerabilities
None known

Smart YouTube and Twitch Embed Security Vulnerabilities

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

Smart YouTube and Twitch Embed Code Analysis

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

Output Escaping

80% escaped56 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
SwiftNinjaPro_settings_GetOption (templates\admin.php:115)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Smart YouTube and Twitch Embed Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterwp_headmain.php:22
actionwp_enqueue_scriptsswiftninjapro-youtube-embed.php:71
actionadmin_menuswiftninjapro-youtube-embed.php:72
Maintenance & Trust

Smart YouTube and Twitch Embed Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedJan 14, 2021
PHP min version5.2.4
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs60
Developer Profile

Smart YouTube and Twitch Embed Developer Profile

SwiftNinjaPro

7 plugins · 710 total installs

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

How We Detect Smart YouTube and Twitch Embed

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/swiftninjapro-youtube-embed/assets/style.css/wp-content/plugins/swiftninjapro-youtube-embed/assets/script.js
Script Paths
/wp-content/plugins/swiftninjapro-youtube-embed/assets/script.js
Version Parameters
swiftninjapro-youtube-embed/assets/style.css?ver=swiftninjapro-youtube-embed/assets/script.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-plugin-slug="swiftninjapro-youtube-embed"
JS Globals
window.swiftNinjaProYoutubeEmbed
Shortcode Output
<!-- SwiftNinjaPro Youtube Embed Widget --><div class="swiftninja-youtube-embed-widget"
FAQ

Frequently Asked Questions about Smart YouTube and Twitch Embed