DarkMySite – Advanced Dark Mode Plugin for WordPress Security & Risk Analysis

wordpress.org/plugins/darkmysite

Best WordPress dark mode plugin to ready your site for the night. Multiple floating switch to choose between night mode and normal mode.

1K active installs v1.2.9 PHP + WP + Updated Oct 11, 2025
darkdark-modedark-themenight-modewordpress-dark-mode
99
A · Safe
CVEs total1
Unpatched0
Last CVEOct 24, 2024
Safety Verdict

Is DarkMySite – Advanced Dark Mode Plugin for WordPress Safe to Use in 2026?

Generally Safe

Score 99/100

DarkMySite – Advanced Dark Mode Plugin for WordPress has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Oct 24, 2024Updated 5mo ago
Risk Assessment

The "darkmysite" v1.2.9 plugin exhibits a generally good security posture, with strong adherence to best practices like proper output escaping and the exclusive use of prepared statements for SQL queries. The plugin also demonstrates a commitment to security by including nonce and capability checks, and no external HTTP requests or file operations are present, reducing potential attack vectors. However, a significant concern arises from the presence of one unprotected AJAX handler. This bypasses necessary authentication, creating an entry point that could be exploited by an attacker to perform unauthorized actions within the WordPress environment if not properly secured within the handler's logic itself.

The vulnerability history, while showing no currently unpatched CVEs, indicates a past medium-severity Cross-Site Request Forgery (CSRF) vulnerability. The fact that this vulnerability was recently patched suggests the developers are responsive to security issues. However, the existence of a past CSRF indicates a potential area for recurring issues if input validation and nonce checks are not meticulously implemented across all user-facing functionalities, particularly those accessible via AJAX.

In conclusion, "darkmysite" v1.2.9 has strengths in its secure coding practices for data handling and output. The primary weakness lies in the unprotected AJAX endpoint, which, combined with the historical CSRF vulnerability, warrants careful review. While the plugin appears to be actively maintained and responsive to vulnerabilities, the unprotected entry point is a notable risk that should be addressed.

Key Concerns

  • Unprotected AJAX handler
  • Past medium severity CVE (CSRF)
Vulnerabilities
1

DarkMySite – Advanced Dark Mode Plugin for WordPress Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

DarkMySite – Advanced Dark Mode Plugin for WordPress <= 1.2.8 - Cross-Site Request Forgery

Oct 24, 2024 Patched in 1.2.9 (356d)
Code Analysis
Analyzed Mar 16, 2026

DarkMySite – Advanced Dark Mode Plugin for WordPress Code Analysis

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

Output Escaping

99% escaped596 total outputs
Attack Surface
1 unprotected

DarkMySite – Advanced Dark Mode Plugin for WordPress Attack Surface

Entry Points2
Unprotected1

AJAX Handlers 1

authwp_ajax_darkmysite_update_settingsbackend\class-darkmysite-ajax.php:17

Shortcodes 1

[darkmysite] frontend\class-darkmysite-shortcode.php:18
WordPress Hooks 16
actionadmin_menubackend\class-darkmysite-admin.php:29
actionadmin_enqueue_scriptsbackend\class-darkmysite-admin.php:30
actionadmin_bar_menubackend\class-darkmysite-admin.php:34
actionadmin_print_scriptsbackend\class-darkmysite-admin.php:35
actionadmin_footerbackend\class-darkmysite-admin.php:36
actiondarkmysite_pro_check_initdarkmysite.php:55
filterwp_nav_menu_itemsfrontend\class-darkmysite-client.php:31
actionwp_enqueue_scriptsfrontend\class-darkmysite-client.php:34
actionlogin_enqueue_scriptsfrontend\class-darkmysite-client.php:35
actionregister_enqueue_scriptsfrontend\class-darkmysite-client.php:36
actionwp_headfrontend\class-darkmysite-client.php:37
actionlogin_headfrontend\class-darkmysite-client.php:38
actionregister_headfrontend\class-darkmysite-client.php:39
actionwp_footerfrontend\class-darkmysite-client.php:40
actionlogin_footerfrontend\class-darkmysite-client.php:41
actionregister_footerfrontend\class-darkmysite-client.php:42
Maintenance & Trust

DarkMySite – Advanced Dark Mode Plugin for WordPress Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 11, 2025
PHP min version
Downloads118K

Community Trust

Rating94/100
Number of ratings14
Active installs1K
Developer Profile

DarkMySite – Advanced Dark Mode Plugin for WordPress Developer Profile

DarkMySite

1 plugin · 1K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
356 days
View full developer profile
Detection Fingerprints

How We Detect DarkMySite – Advanced Dark Mode Plugin for WordPress

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/darkmysite/assets/css/client_main.css/wp-content/plugins/darkmysite/assets/css/admin_main.css/wp-content/plugins/darkmysite/assets/js/admin_main.js/wp-content/plugins/darkmysite/assets/js/client_main.js
Script Paths
/wp-content/plugins/darkmysite/assets/js/admin_main.js/wp-content/plugins/darkmysite/assets/js/client_main.js
Version Parameters
darkmysite/assets/css/client_main.css?ver=darkmysite/assets/css/admin_main.css?ver=darkmysite/assets/js/admin_main.js?ver=darkmysite/assets/js/client_main.js?ver=

HTML / DOM Fingerprints

CSS Classes
darkmysite_admin_bar_switch_container
Data Attributes
data-darkmysite-mode
JS Globals
darkmysite_switch_triggerDarkMySiteAdmin
FAQ

Frequently Asked Questions about DarkMySite – Advanced Dark Mode Plugin for WordPress