Related Documents Widget Security & Risk Analysis

wordpress.org/plugins/related-documents-widget

Adds a widget that displays uploaded media related to a post or page in the sidebar.

30 active installs v2.1.2 PHP + WP 2.8+ Updated Jul 16, 2012
display-documentsdisplay-mediamedia-uploadsrelated-documentsrelated-media
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Related Documents Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Related Documents Widget has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The static analysis for 'related-documents-widget' v2.1.2 reveals a plugin with a seemingly very small attack surface, as indicated by zero AJAX handlers, REST API routes, shortcodes, and cron events. This lack of direct entry points is a positive sign. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests contributes to a generally robust code foundation. The SQL queries are also commendably 100% prepared, mitigating risks of injection vulnerabilities in database interactions.

However, a significant concern arises from the output escaping. With 100% of outputs not being properly escaped, there is a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any dynamic data displayed by the plugin could potentially be manipulated by an attacker to execute malicious scripts in the user's browser. The complete lack of nonce and capability checks across all potential entry points (though currently zero) also suggests a disregard for fundamental WordPress security practices, which could become a serious issue if new entry points are introduced in future updates.

Given the complete absence of historical vulnerabilities, the plugin has a positive track record. However, this historical data should not overshadow the critical findings in the static analysis. The lack of output escaping represents a significant weakness that needs immediate attention. In conclusion, while the plugin demonstrates strengths in avoiding common risky functions and database vulnerabilities, the pervasive lack of output escaping poses a serious XSS risk. The absence of security checks for entry points is also a concern for future maintainability.

Key Concerns

  • 100% of outputs not properly escaped
  • 0 capability checks on entry points
  • 0 nonce checks on entry points
Vulnerabilities
None known

Related Documents Widget Security Vulnerabilities

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

Related Documents Widget Code Analysis

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

Output Escaping

0% escaped19 total outputs
Attack Surface

Related Documents Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionwidgets_initrd-widget.php:159
actionwp_enqueue_scriptsrd-widget.php:160
Maintenance & Trust

Related Documents Widget Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedJul 16, 2012
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs30
Developer Profile

Related Documents Widget Developer Profile

Dan

2 plugins · 80 total installs

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

How We Detect Related Documents Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/related-documents-widget/css/rd-widget.css

HTML / DOM Fingerprints

CSS Classes
related_docs_widget
Data Attributes
id="related_docs_widget-widget-title"id="related_docs_widget-widget-exclude"id="related_docs_widget-widget-excludeImages"id="related_docs_widget-widget-newWindow"
FAQ

Frequently Asked Questions about Related Documents Widget