Disk Space Pie Chart Security & Risk Analysis

wordpress.org/plugins/disk-space-pie-chart

Shows your server space (free and used) as a funky Pie Chart in your backend. It also shows a percentage bar in your WordPress dahsboard.

20 active installs v0.6 PHP + WP 2.7+ Updated Dec 13, 2013
disk-spacehosting-spacepie-chartweb-space
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Disk Space Pie Chart Safe to Use in 2026?

Generally Safe

Score 85/100

Disk Space Pie Chart has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The 'disk-space-pie-chart' plugin version 0.6 exhibits a mixed security posture. While it boasts a very small attack surface with no apparent AJAX handlers, REST API routes, shortcodes, or cron events, and all SQL queries are properly prepared, significant concerns arise from the static code analysis. The presence of dangerous functions like `shell_exec` and `create_function` is a major red flag, as these can be exploited for arbitrary code execution if not handled with extreme care. Furthermore, a complete lack of output escaping on all identified output points means that any data processed and displayed by the plugin is vulnerable to cross-site scripting (XSS) attacks. The plugin's vulnerability history is clean, with no recorded CVEs, which is positive, but this does not mitigate the inherent risks identified within the code itself. The absence of nonce checks on the limited entry points (though there are none listed) and only one capability check further indicate potential weaknesses in access control and input validation.

Key Concerns

  • Dangerous functions like shell_exec present
  • All outputs are unescaped (XSS risk)
  • No nonce checks on potential entry points
  • Limited capability checks detected
Vulnerabilities
None known

Disk Space Pie Chart Security Vulnerabilities

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

Disk Space Pie Chart Code Analysis

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

Dangerous Functions Found

shell_exec$output = substr(shell_exec('pwd'),0,-9);guruspace.php:167
shell_exec$usedspace = substr(shell_exec('du -s ' . $output),0,-(strlen($output)+1));guruspace.php:169
shell_exec$output = substr(shell_exec('pwd'),0,-9);guruspace.php:281
shell_exec$usedspace = substr(shell_exec('du -s ' . $output),0,-(strlen($output)+1));guruspace.php:282
create_functionadd_action( 'plugins_loaded', create_function('', '$memory = new wp_memory_usage();') );guruspace.php:345

Output Escaping

0% escaped17 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
guruspace (guruspace.php:52)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Disk Space Pie Chart Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menuguruspace.php:34
actioninitguruspace.php:248
actionwp_dashboard_setupguruspace.php:249
filteradmin_footer_textguruspace.php:250
actionplugins_loadedguruspace.php:345
Maintenance & Trust

Disk Space Pie Chart Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedDec 13, 2013
PHP min version
Downloads5K

Community Trust

Rating60/100
Number of ratings1
Active installs20
Developer Profile

Disk Space Pie Chart Developer Profile

Jay Versluis

4 plugins · 10K total installs

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

How We Detect Disk Space Pie Chart

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/disk-space-pie-chart/includes/piechart.php
Version Parameters
disk-space-pie-chart/style.css?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- original code from Memory Usage plugin -->
Data Attributes
name="guru_unit"value="GB"value="MB"name="guru_space"name="guruspace_hidden"
Shortcode Output
<img src="<?php echo plugins_url('includes/piechart.php?data=', __FILE__); echo round(($usedspace / ($totalspace / 100)),1) . '*' . (100-(round(($usedspace / ($totalspace / 100)),1))); ?>&label=Used Space*Free Space" />
FAQ

Frequently Asked Questions about Disk Space Pie Chart