Attach Files Widget Security & Risk Analysis

wordpress.org/plugins/attach-files-widget

Simple attachment widget that uses native Wordpress upload manager to add files link widgets to your site.

100 active installs v2.4 PHP + WP 3.5.1+ Updated Oct 28, 2014
adminattachmentssidebaruploadwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Attach Files Widget Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The attach-files-widget plugin v2.4 exhibits a generally strong security posture based on the provided static analysis. The absence of dangerous functions, SQL injection vulnerabilities (all queries use prepared statements), file operations, and external HTTP requests is commendable. The plugin also has no recorded vulnerabilities, indicating a history of secure development or diligent patching by users.

However, several areas present potential concerns that slightly detract from an otherwise robust profile. The most significant is the lack of nonce checks and capability checks for its single shortcode. While the attack surface is small and there are no AJAX or REST API endpoints without authentication, a shortcode can still be an entry point for various attacks if not properly secured, especially if it handles user-supplied data. Furthermore, the 63% rate of proper output escaping, while not alarmingly low, suggests a non-negligible percentage of outputs could be vulnerable to cross-site scripting (XSS) if they involve user-controlled input.

In conclusion, the plugin is likely safe for most use cases due to its lack of known vulnerabilities and secure handling of critical components like SQL queries. The primary areas for improvement lie in implementing proper authorization and sanitization for its shortcode to mitigate potential XSS or other injection vectors that might arise from dynamic content processing.

Key Concerns

  • Missing capability checks for shortcode
  • Missing nonce checks for shortcode
  • Insufficient output escaping (37% not escaped)
Vulnerabilities
None known

Attach Files Widget Security Vulnerabilities

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

Attach Files Widget Release Timeline

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

Attach Files Widget Code Analysis

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

Output Escaping

63% escaped43 total outputs
Attack Surface

Attach Files Widget Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[widget_attachments] widgetattachments.php:178
WordPress Hooks 8
actionadmin_noticeswidgetattachments.php:66
actionadmin_headwidgetattachments.php:175
actionwidgets_initwidgetattachments.php:176
actionplugins_loadedwidgetattachments.php:177
actionsave_postWidgetExAttachments.php:18
actiondeleted_postWidgetExAttachments.php:19
actionswitch_themeWidgetExAttachments.php:20
actionwp_enqueue_scriptsWidgetExAttachments.php:22
Maintenance & Trust

Attach Files Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.0.38
Last updatedOct 28, 2014
PHP min version
Downloads11K

Community Trust

Rating100/100
Number of ratings5
Active installs100
Developer Profile

Attach Files Widget Developer Profile

VeXell

1 plugin · 100 total installs

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

How We Detect Attach Files Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/attach-files-widget/assets/js/admin-scripts.js/wp-content/plugins/attach-files-widget/assets/css/admin-style.css
Script Paths
/wp-content/plugins/attach-files-widget/assets/js/admin-scripts.js
Version Parameters
attach-files-widget/assets/js/admin-scripts.js?ver=attach-files-widget/assets/css/admin-style.css?ver=

HTML / DOM Fingerprints

CSS Classes
ex-attachmentsex-attachments-iconswidget_ex_attachments
Data Attributes
data-widget_ex_attachments
JS Globals
WidgetExAttachments
Shortcode Output
<div class="ex-attachments ex-attachments-not-widget-out"><ul class="ex-attachments-icons"><li><a target="_blank" href="
FAQ

Frequently Asked Questions about Attach Files Widget