Cache Images Security & Risk Analysis

wordpress.org/plugins/cache-images

Goes through your posts and gives you the option to cache all hotlinked images from a domain locally in your upload folder

1K active installs v3.2.2 PHP + WP 2.8+ Updated Oct 25, 2023
hotlinkimagesmediamedia-librarysideload
84
B · Generally Safe
CVEs total2
Unpatched0
Last CVEJun 20, 2022
Safety Verdict

Is Cache Images Safe to Use in 2026?

Mostly Safe

Score 84/100

Cache Images is generally safe to use though it hasn't been updated recently. 2 past CVEs were resolved. Keep it updated.

2 known CVEsLast CVE: Jun 20, 2022Updated 2yr ago
Risk Assessment

The "cache-images" v3.2.2 plugin exhibits a mixed security posture. On the positive side, it demonstrates strong security practices in several areas. The attack surface is minimal and appears to be protected, with no unprotected entry points detected. The plugin also implements nonce and capability checks, and a significant majority of its SQL queries utilize prepared statements, which are excellent defenses against common web vulnerabilities.

However, significant concerns arise from the static analysis and vulnerability history. The taint analysis reveals two "high" severity flows with unsanitized paths, indicating potential risks of improper data handling that could lead to security issues if exploited. Furthermore, the plugin has a history of known vulnerabilities, with two past CVEs, including one high and one medium severity, suggesting a pattern of past security weaknesses, specifically around Missing Authorization and Cross-Site Request Forgery. While there are currently no unpatched CVEs, the historical trend is a notable concern.

In conclusion, "cache-images" v3.2.2 has foundational security measures in place, particularly regarding its limited attack surface and the use of prepared statements. Nevertheless, the high-severity taint flows and the history of past vulnerabilities, particularly those related to authorization and CSRF, warrant careful consideration and suggest that while improvements have been made, latent risks may still exist.

Key Concerns

  • High severity unsanitized taint flows
  • History of high severity CVEs
  • History of medium severity CVEs
  • Low percentage of properly escaped output
  • Low percentage of SQL queries using prepared statements
Vulnerabilities
2

Cache Images Security Vulnerabilities

CVEs by Year

2 CVEs in 2022
2022
Patched Has unpatched

Severity Breakdown

High
1
Medium
1

2 total CVEs

Cache Images <= 3.2 - Missing Authorization

Jun 20, 2022 Patched in 3.2.1 (582d)
CVE-2022-2091high · 8.8Cross-Site Request Forgery (CSRF)

Cache Images <= 3.2 - Cross-Site Request Forgery to Image Upload

Jun 20, 2022 Patched in 3.2.1 (582d)
Code Analysis
Analyzed Mar 16, 2026

Cache Images Code Analysis

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

SQL Query Safety

83% prepared12 total queries

Output Escaping

11% escaped9 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
cache_images_ajax (cache-images.php:343)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Cache Images Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_cache_imagescache-images.php:458
WordPress Hooks 5
actioninitcache-images.php:32
filterplugin_action_linkscache-images.php:52
actionadmin_menucache-images.php:338
actionsave_postcache-images.php:580
actionadmin_initcache-images.php:607
Maintenance & Trust

Cache Images Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedOct 25, 2023
PHP min version
Downloads52K

Community Trust

Rating80/100
Number of ratings6
Active installs1K
Developer Profile

Cache Images Developer Profile

Automattic

393 plugins · 20.8M total installs

73
trust score
Avg Security Score
91/100
Avg Patch Time
1221 days
View full developer profile
Detection Fingerprints

How We Detect Cache Images

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/cache-images/css/style.css/wp-content/plugins/cache-images/js/cache-images.js
Script Paths
/wp-content/plugins/cache-images/js/cache-images.js
Version Parameters
cache-images/style.css?ver=cache-images/js/cache-images.js?ver=

HTML / DOM Fingerprints

Data Attributes
id="cache_images_automatic_caching"id="domain_"name="cache_images_"id="cache_images_"value="Cache from this domain"
JS Globals
ajaxurljQuery
FAQ

Frequently Asked Questions about Cache Images