Debug Bar Security & Risk Analysis

wordpress.org/plugins/debug-bar

Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.

20K active installs v1.1.8 PHP + WP 3.4+ Updated Mar 1, 2026
debug
100
A · Safe
CVEs total1
Unpatched0
Last CVEMay 15, 2013
Safety Verdict

Is Debug Bar Safe to Use in 2026?

Generally Safe

Score 100/100

Debug Bar has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: May 15, 2013Updated 1mo ago
Risk Assessment

The 'debug-bar' plugin v1.1.8 exhibits a generally strong security posture based on the provided static analysis, with no identified attack surface from AJAX handlers, REST API routes, shortcodes, or cron events. The code also demonstrates good practices regarding SQL queries, exclusively using prepared statements, and the absence of file operations or external HTTP requests. However, a significant concern lies in the output escaping, with 58% of outputs not being properly escaped. This presents a potential risk for cross-site scripting (XSS) vulnerabilities, especially if sensitive data is displayed without adequate sanitization. The plugin's vulnerability history, while dated (last vulnerability in 2013), indicates a past susceptibility to XSS. The absence of any critical or high severity vulnerabilities in the history, and the fact that the only medium vulnerability is patched, mitigates some of the historical risk. The lack of nonce checks and capability checks, while not directly exploitable due to the zero attack surface identified, could become a weakness if new entry points were introduced in future versions without corresponding security measures. Overall, while the current version appears to have a low attack surface, the unescaped output is the most prominent security concern.

Key Concerns

  • High percentage of improperly escaped outputs
  • Past XSS vulnerability history
  • No nonce checks
  • No capability checks
Vulnerabilities
1

Debug Bar Security Vulnerabilities

CVEs by Year

1 CVE in 2013
2013
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2013-10021medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Debug Bar <= 0.8 - Reflected Cross-Site Scripting

May 15, 2013 Patched in 0.8.1 (3921d)
Code Analysis
Analyzed Mar 16, 2026

Debug Bar Code Analysis

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

Output Escaping

58% escaped115 total outputs
Attack Surface

Debug Bar Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 15
actionadmin_initdebug-bar.php:26
actionadmin_bar_initdebug-bar.php:28
filteramp_dev_mode_element_xpathsdebug-bar.php:31
actionwp_before_admin_bar_renderdebug-bar.php:59
actionadmin_footerdebug-bar.php:60
actionwp_footerdebug-bar.php:61
actionwp_headdebug-bar.php:62
filterbody_classdebug-bar.php:63
filteradmin_body_classdebug-bar.php:64
actiondeprecated_function_runpanels\class-debug-bar-deprecated.php:13
actiondeprecated_file_includedpanels\class-debug-bar-deprecated.php:14
actiondeprecated_argument_runpanels\class-debug-bar-deprecated.php:15
filterdebug_bar_classespanels\class-debug-bar-panel.php:16
filterhttp_request_argspanels\class-debug-bar-wp-http.php:11
filterhttp_api_debugpanels\class-debug-bar-wp-http.php:12
Maintenance & Trust

Debug Bar Maintenance & Trust

Maintenance Signals

WordPress version tested7.0
Last updatedMar 1, 2026
PHP min version
Downloads2.1M

Community Trust

Rating82/100
Number of ratings68
Active installs20K
Developer Profile

Debug Bar Developer Profile

WordPress.org

34 plugins · 14.9M total installs

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

How We Detect Debug Bar

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/debug-bar/css/debug-bar.css/wp-content/plugins/debug-bar/js/debug-bar.js

HTML / DOM Fingerprints

CSS Classes
debug-bar-maximizeddebug-bar-visibledebug-bar-actionsdebug-menu-links
Data Attributes
id="debug-bar-actions"id="debug-bar-info"id="debug-status"id="querylist"rel="#debug-menu-link-href="#debug-menu-target-
JS Globals
ajaxurl
FAQ

Frequently Asked Questions about Debug Bar