Content Switcher Security & Risk Analysis

wordpress.org/plugins/content-switcher

Allows you to easily display a random number, a random or variable content on your website.

100 active installs v5.0.1 PHP 5.3+ WP 3.5+ Updated Sep 9, 2025
contentcookieenvgetglobals
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Content Switcher Safe to Use in 2026?

Generally Safe

Score 100/100

Content Switcher has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6mo ago
Risk Assessment

The content-switcher plugin v5.0.1 exhibits a mixed security posture. On the positive side, it has no known vulnerabilities, no dangerous functions, no SQL queries without prepared statements, and no file operations or external HTTP requests. The limited attack surface of 2 shortcodes is a strength, particularly as there are no unprotected entry points. However, a significant concern is the lack of output escaping, with 0% of its 3 total outputs being properly escaped. This indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities. Additionally, the absence of nonce checks on its entry points means that it is susceptible to Cross-Site Request Forgery (CSRF) attacks if any of its functionality can be triggered by unauthenticated users or through malicious links.

The vulnerability history shows a clean slate, which is positive and suggests the developers have been diligent or the plugin has not been a target. However, this does not negate the immediate risks identified in the static analysis, specifically the unescaped output. The plugin's strengths lie in its limited attack surface and absence of common dangerous code patterns. Its primary weaknesses are the unescaped outputs and the lack of nonce checks, which create exploitable security holes that could allow for XSS and CSRF attacks.

Key Concerns

  • All outputs are unescaped
  • No nonce checks present
Vulnerabilities
None known

Content Switcher Security Vulnerabilities

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

Content Switcher Code Analysis

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

Output Escaping

0% escaped3 total outputs
Attack Surface

Content Switcher Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[string] shortcodes.php:13
[string] shortcodes.php:73
WordPress Hooks 3
actionadd_meta_boxesadmin.php:21
filterplugin_row_metaadmin.php:30
filterwp_insert_post_datacontent-switcher.php:81
Maintenance & Trust

Content Switcher Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 9, 2025
PHP min version5.3
Downloads16K

Community Trust

Rating100/100
Number of ratings3
Active installs100
Developer Profile

Content Switcher Developer Profile

Kleor

4 plugins · 1K total installs

82
trust score
Avg Security Score
92/100
Avg Patch Time
64 days
View full developer profile
Detection Fingerprints

How We Detect Content Switcher

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

Asset Fingerprints

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

HTML / DOM Fingerprints

CSS Classes
content-switcher
Data Attributes
data-content-switcher-namedata-content-switcher-filterdata-content-switcher-stringdata-content-switcher-typedata-content-switcher-valuesdata-content-switcher-digits+4 more
JS Globals
content_switcher_string
Shortcode Output
[content-switcher-random-content][content-switcher-random-number][content-switcher-variable-content][content-switcher-variable-string]
FAQ

Frequently Asked Questions about Content Switcher