Pie and Donut charts Security & Risk Analysis

wordpress.org/plugins/pie-and-donut-chart

Make interactive pie charts using chart.js library using:

10 active installs v1.0.0 PHP + WP + Updated Aug 6, 2020
chart-jschartselementor-widgetinteractive-chartspie-chart
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Pie and Donut charts Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 5yr ago
Risk Assessment

The "pie-and-donut-chart" plugin v1.0.0 presents a mixed security profile. On the positive side, the plugin exhibits no known vulnerabilities in its history, and the static analysis shows no dangerous functions, no file operations, no external HTTP requests, and all SQL queries are properly prepared. This suggests a generally cautious approach to core security practices. However, a significant concern arises from the complete lack of output escaping. With 10 total outputs and 0% properly escaped, there is a high risk of Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into the user's browser through the plugin's output. Additionally, the absence of nonce checks and capability checks on the single shortcode entry point, while not directly indicated as exploitable by the current static analysis, represents a potential weakness in validating user intent and permissions. The lack of taint analysis results, while not a direct vulnerability, means that the potential for complex data flow vulnerabilities remains unassessed.

The plugin's clean vulnerability history is a strong indicator of good development practices in the past, but it does not negate the immediate risks identified in the code analysis. The absence of output escaping is a critical oversight that could lead to severe security breaches, particularly XSS. The lack of capability checks on the shortcode, while a single entry point, means that any user, regardless of their role, could potentially interact with and trigger the plugin's functionality. A balanced conclusion is that while the plugin is built on a solid foundation regarding database and external interactions, the lack of output sanitization is a critical flaw that needs immediate attention to mitigate XSS risks.

Key Concerns

  • 0% output escaping
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Pie and Donut charts Security Vulnerabilities

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

Pie and Donut charts Code Analysis

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

Output Escaping

0% escaped10 total outputs
Attack Surface

Pie and Donut charts Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[piechart] pie_shortcodes.php:8
WordPress Hooks 9
actioninitmain.php:59
actionplugins_loadedmain.php:62
actionadmin_noticesmain.php:95
actionadmin_noticesmain.php:101
actionadmin_noticesmain.php:107
actionwp_enqueue_scriptspie_shortcodes.php:9
actionelementor/frontend/after_register_scriptsplugin.php:104
actionelementor/frontend/after_enqueue_stylesplugin.php:106
actionelementor/widgets/widgets_registeredplugin.php:109
Maintenance & Trust

Pie and Donut charts Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedAug 6, 2020
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Pie and Donut charts Developer Profile

Varun Katyal

2 plugins · 20 total installs

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

How We Detect Pie and Donut charts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/pie-and-donut-chart/lib/style.css/wp-content/plugins/pie-and-donut-chart/assets/js/chart.js
Script Paths
/wp-content/plugins/pie-and-donut-chart/assets/js/chart.js
Version Parameters
pie-and-donut-chart/assets/js/chart.js?ver=1.0

HTML / DOM Fingerprints

CSS Classes
bg
JS Globals
ChartjQuery
Shortcode Output
<div class="bg"><canvas id="
FAQ

Frequently Asked Questions about Pie and Donut charts