Global Javascript Security & Risk Analysis

wordpress.org/plugins/global-javascript

A simple Javascript writing/editing tool using ACE editor and the Minify library

100 active installs v1.0 PHP + WP + Updated Mar 12, 2013
appearanceeditorglobaljavascriptubc
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Global Javascript Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "global-javascript" plugin v1.0 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices regarding SQL queries, exclusively using prepared statements, and has no recorded vulnerabilities or CVEs. The static analysis reveals a very small attack surface with zero identified entry points, which is a strong indicator of a secure design in this regard. The presence of a nonce check also suggests some consideration for security measures.

However, significant concerns arise from the output escaping. With 9 total outputs and 0% properly escaped, this represents a critical weakness. This lack of output sanitization can expose the plugin to cross-site scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into pages viewed by other users. Furthermore, the taint analysis indicates 2 flows with unsanitized paths, though thankfully these are not classified as critical or high severity in this specific analysis. The presence of file operations without further context is also a potential area of concern, although no malicious activity is directly flagged.

The plugin's history of zero vulnerabilities is encouraging but should be viewed in the context of the identified code issues. The lack of recorded vulnerabilities might be due to the plugin's limited scope, low adoption, or simply a lack of targeted security testing rather than inherent robustness. The bundled jQuery v1.6.3 library is significantly outdated and presents a potential risk of known vulnerabilities that could be exploited if the plugin relies on its functionality.

Key Concerns

  • All output is unescaped
  • Bundled outdated library: jQuery v1.6.3
  • Taint flows with unsanitized paths
Vulnerabilities
None known

Global Javascript Security Vulnerabilities

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

Global Javascript Code Analysis

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

Bundled Libraries

jQuery1.6.3

Output Escaping

0% escaped9 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
update_js (global-javascript.php:458)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Global Javascript Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actioninitglobal-javascript.php:60
actionwp_footerglobal-javascript.php:61
actionadmin_initglobal-javascript.php:64
actionadmin_menuglobal-javascript.php:65
filterget_edit_post_linkglobal-javascript.php:68
Maintenance & Trust

Global Javascript Maintenance & Trust

Maintenance Signals

WordPress version tested3.5.2
Last updatedMar 12, 2013
PHP min version
Downloads12K

Community Trust

Rating70/100
Number of ratings2
Active installs100
Developer Profile

Global Javascript Developer Profile

ctltwp

15 plugins · 6K total installs

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

How We Detect Global Javascript

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/global-javascript/css/admin.css/wp-content/plugins/global-javascript/js/admin.js
Script Paths
/wp-content/plugins/global-javascript/ace/ace.js/wp-content/plugins/global-javascript/js/admin.js
Version Parameters
global-javascript/style.css?ver=ace/ace.js?ver=js/admin.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Global Javascript