JS-SWITCH Security & Risk Analysis

wordpress.org/plugins/js-switch

Js-Scrollbox that scroll images of gray-scale and showing original image on hover.

10 active installs v1.1 PHP + WP 3.4+ Updated May 29, 2014
horizontalhover-effectiveresponsivescrollboxslider
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is JS-SWITCH Safe to Use in 2026?

Generally Safe

Score 85/100

JS-SWITCH has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "js-switch" plugin v1.1 presents a generally good security posture based on the provided static analysis. The absence of direct SQL queries, external HTTP requests, and file operations is a significant strength. Furthermore, the plugin demonstrates good practice by implementing nonce and capability checks for its single identified entry point (shortcode).

However, a critical concern arises from the output escaping analysis. With 2 total outputs and 0% properly escaped, this indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any data displayed through the plugin's shortcode that originates from user input or external sources could be maliciously crafted to execute arbitrary JavaScript in the user's browser.

The plugin's vulnerability history is clean, with no recorded CVEs. This, combined with the secure handling of SQL and the presence of authentication checks on its entry points, suggests a history of secure development. Nevertheless, the lack of proper output escaping remains a significant blind spot and a primary area of concern despite the absence of past vulnerabilities.

Key Concerns

  • Outputs are not properly escaped (XSS risk)
  • Bundled outdated jQuery library (potential for known vulns)
Vulnerabilities
None known

JS-SWITCH Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

JS-SWITCH Release Timeline

v1.1Current
v1.0
Code Analysis
Analyzed Mar 17, 2026

JS-SWITCH Code Analysis

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

Bundled Libraries

jQuery1.11.1

Output Escaping

0% escaped2 total outputs
Attack Surface

JS-SWITCH Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[JS-SWITCH] js-switch.php:49
WordPress Hooks 8
actionwp_enqueue_scriptsjs-switch.php:29
actionwp_enqueue_scriptsjs-switch.php:41
actioninitjs-switch.php:88
filtermanage_edit-slidesjs_slider_columnsjs-switch.php:123
actionmanage_slidesjs_slider_posts_custom_columnjs-switch.php:124
actionadd_meta_boxesjs-switch.php:143
actionsave_postjs-switch.php:233
actionwp_enqueue_scriptsjs-switch.php:265
Maintenance & Trust

JS-SWITCH Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedMay 29, 2014
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings2
Active installs10
Developer Profile

JS-SWITCH Developer Profile

Abhayjain

1 plugin · 10 total installs

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

How We Detect JS-SWITCH

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/js-switch/js/jquery.scrollbox.js/wp-content/plugins/js-switch/css/demo.css
Script Paths
/wp-content/plugins/js-switch/js/jquery.scrollbox.js
Version Parameters
js-switch/js/jquery.scrollbox.js?ver=js-switch/css/demo.css?ver=

HTML / DOM Fingerprints

CSS Classes
switchscroll-imgslidesclientscolor-imgbtn
Data Attributes
id="demo5"id="demo5-forward"id="demo5-backward"
Shortcode Output
[JS-SWITCH id=<div class="switch"><div id="demo5" class="scroll-img"><ul class="slides clients">
FAQ

Frequently Asked Questions about JS-SWITCH