Download Attachments Security & Risk Analysis

wordpress.org/plugins/download-attachments

Download Attachments is a new approach to managing downloads in WordPress. It allows you to easily add and display download links in any post or page.

9K active installs v1.3.2 PHP 7.0.0+ WP 6.0+ Updated Nov 15, 2025
attachmentattachmentsdownloadfilefiles
97
A · Safe
CVEs total3
Unpatched0
Last CVEJun 19, 2025
Safety Verdict

Is Download Attachments Safe to Use in 2026?

Generally Safe

Score 97/100

Download Attachments has a strong security track record. Known vulnerabilities have been patched promptly.

3 known CVEsLast CVE: Jun 19, 2025Updated 4mo ago
Risk Assessment

The 'download-attachments' plugin version 1.3.2 presents a mixed security profile. On the positive side, the static analysis indicates a well-defined attack surface with all identified entry points (AJAX handlers, shortcodes) appearing to have some form of authentication or permission checks, and no direct REST API routes are exposed. The presence of numerous capability checks and nonce checks further suggests an awareness of security best practices in these areas. However, a significant concern lies in the handling of SQL queries, with 100% of the identified queries not using prepared statements, which is a substantial risk for SQL injection vulnerabilities. While the taint analysis reported no critical or high severity flows, the presence of one flow with unsanitized paths warrants attention, even if classified as low severity.

The plugin's vulnerability history reveals three medium-severity CVEs, with common types including Authorization Bypass and Cross-Site Scripting. The fact that these have been patched and none are currently unpatched is a positive sign, indicating a willingness to address security issues. However, the recurrence of these vulnerability types in the past suggests potential weaknesses in input validation and authorization mechanisms that may not have been entirely mitigated by previous patches. The bundled libraries, DataTables and TinyMCE, are also worth noting, as outdated versions of these can introduce their own vulnerabilities. Overall, while the plugin has a relatively contained attack surface and has addressed past vulnerabilities, the unmitigated SQL query practices and the historical patterns of certain vulnerability types indicate areas that require ongoing vigilance and potential remediation.

Key Concerns

  • 100% of SQL queries not using prepared statements
  • 1 taint flow with unsanitized paths
  • 3 past medium severity CVEs
  • Bundled DataTables library
  • Bundled TinyMCE library
Vulnerabilities
3

Download Attachments Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
1 CVE in 2024
2024
1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
3

3 total CVEs

CVE-2025-49995medium · 5.3Authorization Bypass Through User-Controlled Key

Download Attachments <= 1.3.1 - Unauthenticated Insecure Direct Object Reference

Jun 19, 2025 Patched in 1.3.2 (152d)
CVE-2024-3230medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Download Attachments <= 1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting

Jun 3, 2024 Patched in 1.3.1 (28d)
CVE-2023-0076medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Download Attachments <= 1.2.24 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Feb 13, 2023 Patched in 1.3 (362d)
Code Analysis
Analyzed Mar 16, 2026

Download Attachments Code Analysis

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

Bundled Libraries

DataTablesTinyMCE

SQL Query Safety

0% prepared2 total queries

Output Escaping

74% escaped387 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<download> (includes\download.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Download Attachments Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 2

authwp_ajax_da-save-filesincludes\metabox.php:22
authwp_ajax_da-new-fileincludes\metabox.php:23

Shortcodes 2

[download-attachments] includes\shortcodes.php:29
[download-attachment] includes\shortcodes.php:30
WordPress Hooks 28
actionafter_setup_themedownload-attachments.php:111
actionadmin_headdownload-attachments.php:112
actionadmin_enqueue_scriptsdownload-attachments.php:113
actionwp_enqueue_scriptsdownload-attachments.php:114
actionsend_headersdownload-attachments.php:115
actionwpdownload-attachments.php:118
filterplugin_row_metadownload-attachments.php:120
actioninitdownload-attachments.php:146
filtermce_buttonsdownload-attachments.php:609
filtermce_external_pluginsdownload-attachments.php:610
actionmanage_media_custom_columnincludes\media.php:20
actionattachment_submitbox_misc_actionsincludes\media.php:21
actionedit_attachmentincludes\media.php:22
actionedit_attachmentincludes\media.php:23
filtermanage_media_columnsincludes\media.php:26
filtermanage_upload_sortable_columnsincludes\media.php:27
filterattachment_fields_to_editincludes\media.php:28
filterrequestincludes\media.php:29
actionadd_meta_boxesincludes\metabox.php:20
actiondelete_attachmentincludes\metabox.php:21
actionsave_postincludes\metabox.php:24
actionadmin_menuincludes\settings.php:30
actionadmin_initincludes\settings.php:31
actionafter_setup_themeincludes\settings.php:32
actionwp_loadedincludes\settings.php:33
actioninitincludes\shortcodes.php:20
actioninitincludes\update.php:20
actionwidgets_initincludes\widgets.php:20
Maintenance & Trust

Download Attachments Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedNov 15, 2025
PHP min version7.0.0
Downloads215K

Community Trust

Rating90/100
Number of ratings46
Active installs9K
Developer Profile

Download Attachments Developer Profile

dFactory

12 plugins · 357K total installs

70
trust score
Avg Security Score
87/100
Avg Patch Time
247 days
View full developer profile
Detection Fingerprints

How We Detect Download Attachments

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/download-attachments/assets/css/frontend.css/wp-content/plugins/download-attachments/assets/css/backend.css/wp-content/plugins/download-attachments/assets/js/download-attachments.js
Script Paths
/wp-content/plugins/download-attachments/assets/js/download-attachments.js
Version Parameters
download-attachments/assets/css/frontend.css?ver=download-attachments/assets/css/backend.css?ver=download-attachments/assets/js/download-attachments.js?ver=

HTML / DOM Fingerprints

CSS Classes
download-attachments-listdownload-attachments-table
Data Attributes
data-download_id
JS Globals
download_attachments_params
Shortcode Output
[download-attachments]
FAQ

Frequently Asked Questions about Download Attachments