Replace Content Image Size Security & Risk Analysis

wordpress.org/plugins/replace-content-image-size

Find images displayed in posts content and change the format size, very useful when you change the blog theme.

90 active installs v1.2.1 PHP + WP 3.3.2+ Updated Aug 31, 2015
contentimageresizesizesizes
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Replace Content Image Size Safe to Use in 2026?

Generally Safe

Score 85/100

Replace Content Image Size has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 10yr ago
Risk Assessment

The "replace-content-image-size" plugin, version 1.2.1, exhibits a mixed security posture. On one hand, it boasts a commendably small attack surface with no registered AJAX handlers, REST API routes, shortcodes, or cron events, and importantly, zero unprotected entry points. This significantly reduces the opportunities for external attackers to directly interact with the plugin. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests is a positive indicator of secure coding practices.

However, the static analysis reveals critical concerns. All three SQL queries are executed without prepared statements, a major vulnerability that could lead to SQL injection attacks. The taint analysis identified two high-severity flows with unsanitized paths, suggesting that user-supplied data might be used in a way that could compromise file system operations or other sensitive actions. The lack of any capability checks or nonce checks further exacerbates these risks, as these are fundamental WordPress security mechanisms designed to prevent unauthorized actions and cross-site request forgery.

The plugin's vulnerability history is currently clean, with no recorded CVEs. While this is a strong positive, it cannot entirely offset the significant code-level risks identified. The absence of past vulnerabilities might be due to the plugin's limited exposure or a recent clean state, but the current code analysis presents immediate and actionable security concerns that require attention. Overall, the plugin has strengths in its limited attack surface, but its reliance on raw SQL and the presence of high-severity unsanitized taint flows create substantial risks.

Key Concerns

  • Raw SQL queries without prepared statements
  • High severity taint flow (unsanitized path)
  • High severity taint flow (unsanitized path)
  • Missing capability checks
  • Missing nonce checks
  • Low percentage of properly escaped output
Vulnerabilities
None known

Replace Content Image Size Security Vulnerabilities

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

Replace Content Image Size Code Analysis

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

SQL Query Safety

0% prepared3 total queries

Output Escaping

51% escaped35 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
replace (replace-content-image-size.php:117)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Replace Content Image Size Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actioninitreplace-content-image-size.php:30
actionadmin_menureplace-content-image-size.php:67
Maintenance & Trust

Replace Content Image Size Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedAug 31, 2015
PHP min version
Downloads7K

Community Trust

Rating92/100
Number of ratings9
Active installs90
Developer Profile

Replace Content Image Size Developer Profile

Pau Iglesias

8 plugins · 620 total installs

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

How We Detect Replace Content Image Size

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/replace-content-image-size/

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Replace Content Image Size