Display Environment Type Security & Risk Analysis

wordpress.org/plugins/display-environment-type

Displays WordPress 5.5's environment type setting in the admin bar and the "At a Glance" dashboard widget.

1K active installs v1.6.0 PHP 7.4+ WP 5.5+ Updated Dec 19, 2025
developmentdtapenvironmentproductionstaging
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Display Environment Type Safe to Use in 2026?

Generally Safe

Score 100/100

Display Environment Type has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3mo ago
Risk Assessment

The "display-environment-type" plugin version 1.6.0 demonstrates a generally strong security posture based on the provided static analysis. The plugin exhibits no identified entry points such as AJAX handlers, REST API routes, shortcodes, or cron events that are directly exposed to the public without authentication. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests significantly reduces the potential attack surface. The plugin also correctly utilizes prepared statements for its SQL queries, which is a critical security best practice for preventing SQL injection vulnerabilities.

However, a notable concern arises from the output escaping results, where 100% of the outputs were not properly escaped. This indicates a significant risk of Cross-Site Scripting (XSS) vulnerabilities. Any data displayed by the plugin to users, if not properly sanitized, could be manipulated by attackers to inject malicious scripts, leading to session hijacking, defacement, or other harmful actions. The lack of nonce and capability checks, while not directly tied to an attack surface in this analysis, could potentially be exploited if an entry point were discovered or introduced in a future version, allowing for unauthorized actions. The clean vulnerability history with no recorded CVEs is a positive indicator, suggesting a history of secure development, but it does not mitigate the immediate risk posed by unescaped output.

In conclusion, while the "display-environment-type" plugin version 1.6.0 excels in minimizing its attack surface and employing secure data handling for database interactions, the complete lack of output escaping presents a critical security flaw. This oversight could expose the plugin to XSS attacks, undermining its otherwise sound security practices. The absence of recorded vulnerabilities is encouraging, but the immediate need for addressing the output escaping issue is paramount.

Key Concerns

  • 100% of outputs unescaped
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Display Environment Type Security Vulnerabilities

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

Display Environment Type Code Analysis

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

Output Escaping

0% escaped4 total outputs
Attack Surface

Display Environment Type Attack Surface

Entry Points0
Unprotected0
Maintenance & Trust

Display Environment Type Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 19, 2025
PHP min version7.4
Downloads135K

Community Trust

Rating100/100
Number of ratings4
Active installs1K
Developer Profile

Display Environment Type Developer Profile

Stoil Dobreff

1 plugin · 1K total installs

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

How We Detect Display Environment Type

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/display-environment-type/dist/css/det-toolbar-styles.css/wp-content/plugins/display-environment-type/dist/js/det-admin-script.js/wp-content/plugins/display-environment-type/dist/js/det-editor-script.js
Script Paths
/wp-content/plugins/display-environment-type/vendor/wp-browser/wp-browser/src/wp-browser.js/wp-content/plugins/display-environment-type/assets/js/admin.js/wp-content/plugins/display-environment-type/assets/js/editor.js/wp-content/plugins/display-environment-type/assets/js/admin-script.js/wp-content/plugins/display-environment-type/assets/js/editor-script.js/wp-content/plugins/display-environment-type/assets/js/editor/dist/index.js
Version Parameters
display-environment-type/dist/css/det-toolbar-styles.css?ver=display-environment-type/dist/js/det-admin-script.js?ver=display-environment-type/dist/js/det-editor-script.js?ver=display-environment-type/assets/js/admin.js?ver=display-environment-type/assets/js/editor.js?ver=display-environment-type/assets/js/admin-script.js?ver=display-environment-type/assets/js/editor-script.js?ver=display-environment-type/assets/js/editor/dist/index.js?ver=

HTML / DOM Fingerprints

CSS Classes
det-env-typedet-localdet-developmentdet-stagingdet-productiondet-toolbar-stylesdet-admin-notice
HTML Comments
<!-- Dismissible notice for the user --><!-- Dismissible recommendation notice -->
Data Attributes
data-det-notice-dismissible
JS Globals
det_admin_varsdet_editor_vars
FAQ

Frequently Asked Questions about Display Environment Type