Custom JS Security & Risk Analysis

wordpress.org/plugins/custom-js

Custom JS is easy to use. Custom JS WordPress plugin allows you to Custom JS fields in your theme - include js in head or footer.

200 active installs v1.0.0 PHP + WP 4.6+ Updated Sep 24, 2016
csscustom-csscustom-javascriptcustom-jstextarea-css
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom JS Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The 'custom-js' plugin v1.0.0 exhibits a strong security posture based on the provided static analysis. The absence of any identified entry points like AJAX handlers, REST API routes, shortcodes, or cron events significantly reduces its attack surface. Furthermore, the code signals indicate a good adherence to secure coding practices, with no dangerous functions, all SQL queries using prepared statements, and no file operations or external HTTP requests. The lack of known vulnerabilities in its history is also a positive indicator.

However, a notable concern arises from the output escaping. With only 57% of outputs properly escaped, there is a potential for cross-site scripting (XSS) vulnerabilities if user-supplied data is directly outputted without sufficient sanitization. While the taint analysis shows no critical or high-severity flows, this could be a consequence of the limited analysis scope or the lack of complex data handling within the plugin. The absence of nonce and capability checks, coupled with the lack of authentication on entry points (though there are no entry points to begin with), suggests a reliance on the plugin's inherent inaccessibility rather than explicit security measures.

In conclusion, 'custom-js' v1.0.0 is generally well-secured due to its minimal attack surface and good SQL handling. The primary weakness lies in the partial output escaping, which warrants attention. The plugin's vulnerability history is clean, which is a good sign, but the static analysis findings suggest areas for improvement to further harden its security.

Key Concerns

  • Partial output escaping
Vulnerabilities
None known

Custom JS Security Vulnerabilities

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

Custom JS Code Analysis

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

Output Escaping

57% escaped7 total outputs
Attack Surface

Custom JS Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_menucustom-js.php:13
actionadmin_initcustom-js.php:18
actionadmin_enqueue_scriptscustom-js.php:34
actionwp_headcustom-js.php:77
actionwp_footercustom-js.php:84
actioninitcustom-js.php:91
Maintenance & Trust

Custom JS Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedSep 24, 2016
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs200
Developer Profile

Custom JS Developer Profile

seosbg

74 plugins · 10K total installs

97
trust score
Avg Security Score
95/100
Avg Patch Time
1 days
View full developer profile
Detection Fingerprints

How We Detect Custom JS

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-js/css/admin.css

HTML / DOM Fingerprints

CSS Classes
cjscjs_wraps-redss-logo
Data Attributes
name="cjs_head"name="cjs_footer"
FAQ

Frequently Asked Questions about Custom JS