Traffic Lights Security & Risk Analysis

wordpress.org/plugins/traffic-lights

A plugin which shows a simply traffic light to show some status to visitors.

70 active installs v1.02 PHP + WP 3.0+ Updated Feb 5, 2021
lightsstatustraffic
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Traffic Lights Safe to Use in 2026?

Generally Safe

Score 85/100

Traffic Lights has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The "traffic-lights" plugin v1.02 appears to have a generally strong security posture based on the provided static analysis. The absence of dangerous functions, SQL queries without prepared statements, and external HTTP requests are positive indicators. The plugin also demonstrates good practice by performing capability checks on its entry points. The lack of any recorded vulnerabilities in its history further suggests a stable and relatively secure codebase over time.

However, there are a few areas of concern. The most significant is the very low percentage of properly escaped output (14%). This means that a substantial portion of data output by the plugin might be vulnerable to Cross-Site Scripting (XSS) attacks, especially if user-supplied data is involved in these outputs. While the taint analysis showed no unsanitized paths, this could be due to the limited number of flows analyzed or a lack of complex data manipulation. The absence of nonce checks, while not directly tied to an identified vulnerability, is a missed opportunity to further harden the plugin against CSRF attacks, particularly for its entry points.

Key Concerns

  • Low output escaping percentage
  • No nonce checks on entry points
Vulnerabilities
None known

Traffic Lights Security Vulnerabilities

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

Traffic Lights Code Analysis

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

Output Escaping

14% escaped14 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
draw_traffic_light (draw-traffic-lights.php:34)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Traffic Lights Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[trafficlights] traffic-lights.php:67
[traffic-lights] traffic-lights.php:68
WordPress Hooks 2
actionwidgets_inittraffic-lights.php:48
actionwp_dashboard_setuptraffic-lights.php:66
Maintenance & Trust

Traffic Lights Maintenance & Trust

Maintenance Signals

WordPress version tested5.6.17
Last updatedFeb 5, 2021
PHP min version
Downloads3K

Community Trust

Rating60/100
Number of ratings2
Active installs70
Developer Profile

Traffic Lights Developer Profile

theode

11 plugins · 220 total installs

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

How We Detect Traffic Lights

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/traffic-lights/bilder/red.png/wp-content/plugins/traffic-lights/bilder/red-off.png/wp-content/plugins/traffic-lights/bilder/yellow.png/wp-content/plugins/traffic-lights/bilder/yellow-off.png/wp-content/plugins/traffic-lights/bilder/green.png/wp-content/plugins/traffic-lights/bilder/green-off.png

HTML / DOM Fingerprints

Data Attributes
data-ampel
Shortcode Output
<div style="line-height:0px;padding:0;text-decoration:none;"><img src="" /><br /><img src="
FAQ

Frequently Asked Questions about Traffic Lights