Dark Mode for WP Dashboard Security & Risk Analysis

wordpress.org/plugins/dark-mode-for-wp-dashboard

Makes your WordPress admin dashboard in dark mode.

2K active installs v1.2.4 PHP + WP + Updated Aug 2, 2024
dark-modedark-mode-dashboarddark-uinight-mode
91
A · Safe
CVEs total1
Unpatched0
Last CVEAug 16, 2024
Safety Verdict

Is Dark Mode for WP Dashboard Safe to Use in 2026?

Generally Safe

Score 91/100

Dark Mode for WP Dashboard has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Aug 16, 2024Updated 1yr ago
Risk Assessment

The "dark-mode-for-wp-dashboard" plugin v1.2.4 demonstrates strong adherence to several security best practices, including the complete absence of dangerous functions, raw SQL queries, file operations, and external HTTP requests. All identified SQL queries utilize prepared statements, and all output is properly escaped, indicating a good foundation for preventing common injection and XSS vulnerabilities. Furthermore, the presence of nonce and capability checks on its AJAX handler is a positive sign for secure entry point handling.

However, the plugin's vulnerability history is a significant concern. While there are no currently unpatched vulnerabilities, the existence of one known CVE, a medium severity Cross-Site Request Forgery (CSRF), and its recent discovery (August 16, 2024) suggests a pattern of security weaknesses. The fact that a CSRF vulnerability was present, even if patched, indicates potential oversight in how user actions are validated. The lack of any taint analysis results is also notable, as it may suggest that the analysis tools did not find any complex data flows to examine, or that the plugin's code is simple enough to avoid such issues, but it doesn't definitively rule out potential issues in more complex scenarios.

In conclusion, the plugin has commendable coding practices regarding sanitization and input validation for its direct code. However, its past vulnerability, specifically a CSRF, and its recency, points to a need for more rigorous security auditing and potentially more comprehensive testing to ensure that user interactions are always properly secured against malicious manipulation, despite the strong static analysis results for its current version.

Key Concerns

  • Recent medium severity CSRF vulnerability
Vulnerabilities
1

Dark Mode for WP Dashboard Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2024-43325medium · 4.3Cross-Site Request Forgery (CSRF)

Dark Mode for WP Dashboard <= 1.2.3 - Cross-Site Request Forgery

Aug 16, 2024 Patched in 1.2.4 (4d)
Code Analysis
Analyzed Mar 16, 2026

Dark Mode for WP Dashboard Code Analysis

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

Dark Mode for WP Dashboard Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_dark_mode_dashboard_change_user_profile_modedark-mode-dashboard.php:129
WordPress Hooks 7
actionadmin_enqueue_scriptsdark-mode-dashboard.php:39
actionshow_user_profiledark-mode-dashboard.php:44
actionedit_user_profiledark-mode-dashboard.php:45
actionpersonal_options_updatedark-mode-dashboard.php:63
actionedit_user_profile_updatedark-mode-dashboard.php:64
actionadmin_bar_menudark-mode-dashboard.php:93
actionadmin_footerdark-mode-dashboard.php:98
Maintenance & Trust

Dark Mode for WP Dashboard Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 2, 2024
PHP min version
Downloads45K

Community Trust

Rating98/100
Number of ratings27
Active installs2K
Developer Profile

Dark Mode for WP Dashboard Developer Profile

mortuary111

1 plugin · 2K total installs

94
trust score
Avg Security Score
91/100
Avg Patch Time
4 days
View full developer profile
Detection Fingerprints

How We Detect Dark Mode for WP Dashboard

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/dark-mode-for-wp-dashboard/assets/css/dark-mode-dashboard.css
Script Paths
/wp-content/plugins/dark-mode-for-wp-dashboard/js/dark-mode-dashboard.js
Version Parameters
dark-mode-for-wp-dashboard/assets/css/dark-mode-dashboard.css?ver=dark-mode-for-wp-dashboard/js/dark-mode-dashboard.js?ver=

HTML / DOM Fingerprints

CSS Classes
dark-mode-dashboard
Data Attributes
dark_mode_dashboard
JS Globals
darkModeDashboard
FAQ

Frequently Asked Questions about Dark Mode for WP Dashboard