Night Eye – Dark Mode Plugin Security & Risk Analysis

wordpress.org/plugins/night-eye

The Night Eye dark mode plugin for WordPress is an easy and powerful tool that enables a soothing dark theme on your WordPress website.

60 active installs v1.0.2 PHP 7.1+ WP 5.0+ Updated Apr 14, 2022
darkdark-backgrounddark-modedark-themewordpress-dark-mode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Night Eye – Dark Mode Plugin Safe to Use in 2026?

Generally Safe

Score 85/100

Night Eye – Dark Mode Plugin has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The night-eye plugin v1.0.2 presents a generally strong security posture based on the provided static analysis and vulnerability history. The absence of any identified CVEs and a very low percentage of unescaped output are positive indicators. Furthermore, the plugin demonstrates good practices by not exposing direct entry points like AJAX handlers, REST API routes, or shortcodes without proper checks, and it correctly avoids external HTTP requests, reducing its attack surface. However, the analysis does reveal a critical area for improvement: the single SQL query is not using prepared statements. This could expose the plugin to SQL injection vulnerabilities if the data used in the query is not thoroughly sanitized beforehand, which is not explicitly detailed in the static analysis. While there are capability checks in place, the lack of explicit nonces for any potential indirect entry points that might exist, combined with the un-prepared SQL query, represents the primary security concerns.

Key Concerns

  • SQL query not using prepared statements
Vulnerabilities
None known

Night Eye – Dark Mode Plugin Security Vulnerabilities

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

Night Eye – Dark Mode Plugin Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

85% escaped13 total outputs
Attack Surface

Night Eye – Dark Mode Plugin Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionrest_api_initFilters\Filter.php:11
actionrest_api_initFilters\Filter.php:28
actionrest_api_initFilters\Filter.php:41
actionwp_enqueue_scriptsMain.php:45
actionadmin_menuMain.php:52
actionadmin_enqueue_scriptsMain.php:53
actionadmin_initMain.php:55
filterscript_loader_tagMain.php:74
actionwp_headMain.php:76
actionwp_headMain.php:77
Maintenance & Trust

Night Eye – Dark Mode Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedApr 14, 2022
PHP min version7.1
Downloads7K

Community Trust

Rating100/100
Number of ratings8
Active installs60
Developer Profile

Night Eye – Dark Mode Plugin Developer Profile

Night Eye - Dark mode

1 plugin · 60 total installs

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

How We Detect Night Eye – Dark Mode Plugin

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/night-eye/Views/assets/v-public/view/startup-page/bundle.css/wp-content/plugins/night-eye/Views/assets/v-public/view/startup-page/bundle.js
Script Paths
/wp-content/plugins/night-eye/Views/assets/v-public/view/startup-page/bundle.es5.js

HTML / DOM Fingerprints

CSS Classes
night-eye-options-page
Data Attributes
data-page-slug="nighteye"data-plugin-slug="night-eye"data-admin-page="night-eye-admin"
JS Globals
window.nightEyeOptions
FAQ

Frequently Asked Questions about Night Eye – Dark Mode Plugin