WP Direction Detector Security & Risk Analysis

wordpress.org/plugins/wp-direction-detector

This plugin auto dectects and apply the right direction (RTL or LTR) on post's titles, bodies and comments.

10 active installs v1.2.1 beta PHP + WP 2.0+ Updated May 24, 2016
directionlanguageltrright-to-left-supportrtl
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Direction Detector Safe to Use in 2026?

Generally Safe

Score 85/100

WP Direction Detector has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The 'wp-direction-detector' plugin version 1.2.1 beta presents a mixed security posture. On the positive side, it exhibits a very small attack surface with no identified AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, all SQL queries are handled with prepared statements, and there are no external HTTP requests or file operations, which are good security practices. The vulnerability history is also clean, with no recorded CVEs, suggesting a generally secure development approach regarding known past issues.

However, significant concerns arise from the static analysis. The most prominent is the complete lack of output escaping on the identified outputs, indicating a high risk of Cross-Site Scripting (XSS) vulnerabilities. Additionally, while the plugin has capability checks, it lacks nonce checks. The taint analysis reveals one flow with an unsanitized path, which, although not categorized as critical or high, still points to a potential area of weakness where user-supplied data might not be properly validated before use.

Overall, the plugin's minimal attack surface and lack of traditional vulnerabilities are strengths. Nonetheless, the complete absence of output escaping and the presence of an unsanitized path flow create critical security weaknesses that could be easily exploited. The beta status also warrants caution, as it implies the code may not be fully vetted for all potential issues. Addressing the output escaping is paramount to mitigating the risk of XSS.

Key Concerns

  • Unescaped output
  • Flow with unsanitized paths
  • Missing nonce checks
Vulnerabilities
None known

WP Direction Detector Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

WP Direction Detector Release Timeline

No version history available.
Code Analysis
Analyzed Apr 16, 2026

WP Direction Detector Code Analysis

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

Output Escaping

0% escaped2 total outputs
Data Flows · Security
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
options_page (wp_direction_detector.php:57)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Direction Detector Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
filterthe_titlewp_direction_detector.php:121
filterthe_contentwp_direction_detector.php:124
filtercomment_textwp_direction_detector.php:127
actionadmin_menuwp_direction_detector.php:139
Maintenance & Trust

WP Direction Detector Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedMay 24, 2016
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

WP Direction Detector Developer Profile

.fay

6 plugins · 390 total installs

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

How We Detect WP Direction Detector

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

Asset Fingerprints

Script Paths
/wp-content/plugins/wp-direction-detector/js/direction-detector.js
Version Parameters
wp-direction-detector/js/direction-detector.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- Last Action -->
Data Attributes
dir="ltr"dir="rtl"
FAQ

Frequently Asked Questions about WP Direction Detector