WP Media Replace Security & Risk Analysis

wordpress.org/plugins/wp-media-replace

WP Replace Media is a useful and smooth plugin to replace an image to some other existing or new media image. It automatically replaces the old image …

40 active installs v1.0.0 PHP 5.2.4+ WP 4.0+ Updated Apr 29, 2019
attachmentmediareplace-media
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Media Replace Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The "wp-media-replace" v1.0.0 plugin exhibits a generally strong security posture, with no known CVEs, zero identified attack surface points without authentication, and the majority of SQL queries employing prepared statements. The presence of a nonce check and a capability check further bolster its defenses against common WordPress vulnerabilities. However, the static analysis reveals two taint flows with unsanitized paths, both flagged with high severity. While the absence of raw SQL queries and a limited attack surface are positive, these high-severity taint flows represent a significant concern. The plugin's vulnerability history is clean, suggesting a good track record, but the high-severity findings in the current static analysis warrant careful consideration. Overall, the plugin has robust foundational security but requires immediate attention to address the identified unsanitized path vulnerabilities to mitigate potential risks.

Key Concerns

  • High severity taint flow with unsanitized path
  • High severity taint flow with unsanitized path
  • Output escaping only 67% properly escaped
Vulnerabilities
None known

WP Media Replace Security Vulnerabilities

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

WP Media Replace Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

67% escaped3 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
save_meta_box (admin\class-wp-media-replace-admin.php:122)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Media Replace Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionplugins_loadedincludes\class-wp-media-replace.php:142
actionadmin_enqueue_scriptsincludes\class-wp-media-replace.php:157
actionadmin_enqueue_scriptsincludes\class-wp-media-replace.php:158
actionadd_meta_boxesincludes\class-wp-media-replace.php:159
actionpre_post_updateincludes\class-wp-media-replace.php:160
actionwp_enqueue_scriptsincludes\class-wp-media-replace.php:175
actionwp_enqueue_scriptsincludes\class-wp-media-replace.php:176
Maintenance & Trust

WP Media Replace Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedApr 29, 2019
PHP min version5.2.4
Downloads2K

Community Trust

Rating100/100
Number of ratings2
Active installs40
Developer Profile

WP Media Replace Developer Profile

Prakash Rao

1 plugin · 40 total installs

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

How We Detect WP Media Replace

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-media-replace/admin/css/wp-media-replace-admin.css/wp-content/plugins/wp-media-replace/admin/js/wp-media-replace-admin.js
Script Paths
/wp-content/plugins/wp-media-replace/admin/js/wp-media-replace-admin.js
Version Parameters
wp-media-replace/css/wp-media-replace-admin.css?ver=wp-media-replace/js/wp-media-replace-admin.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- The WordPress Media Replace Plugin --><!-- Replace Media -->
Data Attributes
id="replace_image"name="upload_replace_image"name="replace_image_field_nonce"
JS Globals
var ajaxurl = '
FAQ

Frequently Asked Questions about WP Media Replace