JS File Selector Security & Risk Analysis

wordpress.org/plugins/js-file-selector

Select Javascript files and/or write Javascript functions to any single page or post

10 active installs v1.0.3 PHP + WP 3.0+ Updated Jan 7, 2015
file-javascriptjavascriptjspagepost
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is JS File Selector Safe to Use in 2026?

Generally Safe

Score 85/100

JS File Selector 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-file-selector" v1.0.3 plugin exhibits a generally positive security posture, demonstrating good practices in several key areas. The static analysis reveals no identified attack surface points, a complete absence of dangerous functions, and all SQL queries utilizing prepared statements, which significantly mitigates SQL injection risks. Furthermore, the presence of nonce and capability checks indicates an effort to secure its operations. The vulnerability history is clean, with no known CVEs, suggesting a lack of historical security weaknesses.

However, a notable concern arises from the output escaping. With only 25% of outputs properly escaped, there is a significant risk of Cross-Site Scripting (XSS) vulnerabilities. This is particularly concerning as it is a common and impactful vulnerability type. The limited number of analyzed flows in the taint analysis (only 1) and the absence of critical or high severity flows do not entirely alleviate this concern, as a single unescaped output can be sufficient for an XSS attack.

In conclusion, while the plugin benefits from a clean vulnerability history and a lack of exploitable entry points in its current state, the inadequate output escaping presents a tangible and significant security risk. This weakness, coupled with the limited scope of the taint analysis, means careful attention should be paid to how data is handled before being outputted to the user.

Key Concerns

  • Low output escaping (25%)
Vulnerabilities
None known

JS File Selector Security Vulnerabilities

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

JS File Selector Code Analysis

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

Output Escaping

25% escaped4 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<jsfileselector> (jsfileselector.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

JS File Selector Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionadd_meta_boxesjsfileselector.php:246
actionadmin_initjsfileselector.php:248
actionsave_postjsfileselector.php:250
actionadmin_enqueue_scriptsjsfileselector.php:252
actionwp_enqueue_scriptsjsfileselector.php:254
actionwp_headjsfileselector.php:256
actionwp_footerjsfileselector.php:258
actiondelete_postjsfileselector.php:260
Maintenance & Trust

JS File Selector Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedJan 7, 2015
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

JS File Selector Developer Profile

Chrgiga

2 plugins · 40 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 File Selector

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/js-file-selector/inc/css/jsfileselector.css/wp-content/plugins/js-file-selector/inc/js/jsfileselector.js
Script Paths
/wp-content/plugins/js-file-selector/inc/js/jsfileselector.js
Version Parameters
js-file-selector/style.css?ver=js-file-selector/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
js-file-select-divjs-file-selector-row
HTML Comments
<!-- js File Selector (Javascript functions) -->
Data Attributes
name="gil_js_file_selector_file[]"name="js-file-selector-position-name="gil_js_file_selector_functions"name="js-file-selector-functions-position"id="js-file-selector-functions"
FAQ

Frequently Asked Questions about JS File Selector