CDN Tools Security & Risk Analysis

wordpress.org/plugins/cdn-tools

CDN Tools is a plugin designed to help you drastically speed up your blog's load time by loading data onto a content distribution network (CDN).

10 active installs v1.0 PHP + WP 2.9+ Updated Jun 29, 2010
cdncontentdistributionsideloadspeed
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is CDN Tools Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 15yr ago
Risk Assessment

The "cdn-tools" v1.0 plugin presents a significant security risk due to critical weaknesses identified in its code analysis, overshadowing its otherwise limited vulnerability history. The presence of a single unprotected AJAX handler is a major concern, as it represents a direct entry point into the plugin's functionality that is not secured against unauthorized access. Furthermore, the plugin exhibits poor output escaping practices, with only 11% of outputs being properly escaped, which could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not sanitized before being displayed. The taint analysis, while showing a small number of flows, indicates two flows with unsanitized paths, suggesting potential for path traversal or other file-related vulnerabilities.

While the plugin has no recorded CVEs, this does not indicate a strong security posture. It may simply mean the plugin has not been extensively audited or targeted. The reliance on dangerous functions like `create_function` and `unserialize` also introduces potential risks, especially if the input to `unserialize` is not strictly controlled. The complete absence of nonce and capability checks on its entry points is particularly alarming, as these are fundamental security mechanisms in WordPress for preventing CSRF attacks and enforcing permission checks. The plugin's strengths lie in its heavy use of prepared statements for SQL queries, mitigating the risk of SQL injection, and its limited external dependencies. However, the identified attack surface, lack of authentication, and poor output sanitization create a situation ripe for exploitation.

Key Concerns

  • Unprotected AJAX handler
  • Low percentage of properly escaped output
  • Taint flows with unsanitized paths
  • Use of dangerous function: unserialize
  • Use of dangerous function: create_function
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

CDN Tools Security Vulnerabilities

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

CDN Tools Code Analysis

Dangerous Functions
5
Raw SQL Queries
1
12 prepared
Unescaped Output
31
4 escaped
Nonce Checks
0
Capability Checks
0
File Operations
8
External Requests
2
Bundled Libraries
0

Dangerous Functions Found

create_functionadd_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p>".sprintf('Please gocdntools.php:134
unserialize$metadata = unserialize( $wpdb->get_var( $wpdb->prepare( "select meta_value from $wpdb->postmeta WHEcdntools.php:328
unserialize$backup_metadata = unserialize( $wpdb->get_var( $wpdb->prepare( "select meta_value from $wpdb->postmcdntools.php:340
unserialize$metadata = unserialize( $wpdb->get_var( $wpdb->prepare( "select meta_value from $wpdb->postmeta WHEcdntools.php:375
unserialize$backup_metadata = unserialize( $wpdb->get_var( $wpdb->prepare( "select meta_value from $wpdb->postmcdntools.php:385

SQL Query Safety

92% prepared13 total queries

Output Escaping

11% escaped35 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
cdn_attachment_upload_ajax (cdntools.php:280)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
1 unprotected

CDN Tools Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_cdn_attachment_upload_ajaxcdntools.php:99
WordPress Hooks 17
actionadmin_menucdntools.php:102
actionwp_default_scriptscdntools.php:104
actionwp_headcdntools.php:105
actionpost-flash-upload-uicdntools.php:106
actionpost-html-upload-uicdntools.php:107
actionadd_attachmentcdntools.php:108
actiondelete_attachmentcdntools.php:109
actionadmin_initcdntools.php:110
filterinitcdntools.php:114
filterprint_scripts_arraycdntools.php:115
filterwp_handle_uploadcdntools.php:116
filterthe_contentcdntools.php:118
filterwp_generate_attachment_metadatacdntools.php:119
filterupdate_attached_filecdntools.php:120
filterwp_update_attachment_metadatacdntools.php:121
filterpost_thumbnail_htmlcdntools.php:122
actionadmin_noticescdntools.php:134
Maintenance & Trust

CDN Tools Maintenance & Trust

Maintenance Signals

WordPress version tested3.0.5
Last updatedJun 29, 2010
PHP min version
Downloads17K

Community Trust

Rating20/100
Number of ratings1
Active installs10
Developer Profile

CDN Tools Developer Profile

reaperhulk

2 plugins · 30 total installs

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

How We Detect CDN Tools

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/cdn-tools/cdn_classes//wp-content/plugins/cdn-tools/js/cdntools-admin.js
Script Paths
/wp-content/plugins/cdn-tools/js/cdntools-admin.js
Version Parameters
cdn-tools/js/cdntools-admin.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- CDN TOOLS --><!-- end CDN TOOLS --><!-- CDN TOOLS AJAX UPLOAD -->
Data Attributes
data-cdntools-ajax-upload
JS Globals
cdntools_admin
FAQ

Frequently Asked Questions about CDN Tools