WPSQR Media Protector – Prevent Used Image Deletion Security & Risk Analysis

wordpress.org/plugins/wpsqr-media-protector

Protect your WordPress media library by preventing the deletion of images that are actively used across your website.

0 active installs v1.0.2 PHP 7.2+ WP 5.2+ Updated Unknown
managementmedia-scanprotectionrestrict-deletiontracking
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WPSQR Media Protector – Prevent Used Image Deletion Safe to Use in 2026?

Generally Safe

Score 100/100

WPSQR Media Protector – Prevent Used Image Deletion has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The "wpsqr-media-protector" v1.0.2 plugin exhibits a generally strong security posture based on the provided static analysis. All identified AJAX entry points have authentication checks, and there are no apparent vulnerabilities related to unsanitized data flows or dangerous function usage. The plugin also demonstrates good practice with 100% output escaping and a high percentage of SQL queries using prepared statements. Furthermore, the absence of any recorded vulnerabilities in its history suggests a well-maintained codebase.

However, a notable concern is the complete lack of capability checks across all its entry points. While nonce checks are present for AJAX handlers, the absence of capability checks means that any authenticated user, regardless of their role or permissions, could potentially trigger the AJAX actions. This represents a significant gap in access control and could lead to unauthorized actions if the AJAX handlers perform sensitive operations. The plugin's static analysis also shows no REST API routes, shortcodes, or cron events, limiting its attack surface to the 5 AJAX handlers.

In conclusion, while the plugin is commendable for its robust input sanitization and output escaping, the missing capability checks are a critical weakness. This oversight could be exploited to bypass intended access restrictions. The absence of known CVEs is a positive indicator, but the identified access control deficiency warrants attention for a truly secure implementation.

Key Concerns

  • Missing capability checks on AJAX handlers
Vulnerabilities
None known

WPSQR Media Protector – Prevent Used Image Deletion Security Vulnerabilities

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

WPSQR Media Protector – Prevent Used Image Deletion Code Analysis

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

SQL Query Safety

90% prepared21 total queries

Output Escaping

100% escaped38 total outputs
Attack Surface

WPSQR Media Protector – Prevent Used Image Deletion Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 5

authwp_ajax_wpsqmepr_attachment_usageinc\class-wpsqmepr-mediapr.php:70
authwp_ajax_wpsqmepr_finalize_processinginc\class-wpsqmepr-mediapr.php:71
authwp_ajax_wpsqmepr_process_all_imagesinc\class-wpsqmepr-mediapr.php:91
authwp_ajax_wpsqmepr_cancel_image_processinginc\class-wpsqmepr-mediapr.php:92
authwp_ajax_wpsqmepr_progress_statusinc\class-wpsqmepr-mediapr.php:93
WordPress Hooks 21
actionadmin_enqueue_scriptsinc\class-wpsqmepr-mediapr.php:62
actionadmin_menuinc\class-wpsqmepr-mediapr.php:65
actionadmin_initinc\class-wpsqmepr-mediapr.php:66
filtermedia_row_actionsinc\class-wpsqmepr-mediapr.php:69
filtermanage_media_columnsinc\class-wpsqmepr-mediapr.php:72
actionmanage_media_custom_columninc\class-wpsqmepr-mediapr.php:73
filterattachment_fields_to_editinc\class-wpsqmepr-mediapr.php:74
actionbefore_delete_postinc\class-wpsqmepr-mediapr.php:75
actionpre_delete_terminc\class-wpsqmepr-mediapr.php:76
actionsave_postinc\class-wpsqmepr-mediapr.php:79
actiondelete_postinc\class-wpsqmepr-mediapr.php:80
actioncreated_terminc\class-wpsqmepr-mediapr.php:81
actionedited_terminc\class-wpsqmepr-mediapr.php:82
actiontrashed_postinc\class-wpsqmepr-mediapr.php:83
actionupdated_optioninc\class-wpsqmepr-mediapr.php:84
actiondeleted_terminc\class-wpsqmepr-mediapr.php:86
actiondelete_attachmentinc\class-wpsqmepr-mediapr.php:87
actionadmin_noticesinc\class-wpsqmepr-mediapr.php:88
actionupdated_post_metainc\class-wpsqmepr-mediapr.php:245
actionadded_post_metainc\class-wpsqmepr-mediapr.php:246
actiondeleted_post_metainc\class-wpsqmepr-mediapr.php:247
Maintenance & Trust

WPSQR Media Protector – Prevent Used Image Deletion Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedUnknown
PHP min version7.2
Downloads303

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

WPSQR Media Protector – Prevent Used Image Deletion Developer Profile

wpsqr

6 plugins · 430 total installs

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

How We Detect WPSQR Media Protector – Prevent Used Image Deletion

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wpsqr-media-protector/assets/css/style.css/wp-content/plugins/wpsqr-media-protector/assets/js/script.js
Script Paths
/wp-content/plugins/wpsqr-media-protector/assets/js/script.js
Version Parameters
wpsqr-media-protector/assets/css/style.css?ver=wpsqr-media-protector/assets/js/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpsqmepr-media-protection-active
Data Attributes
data-attachment-id
JS Globals
wpsqmepr_ajax
FAQ

Frequently Asked Questions about WPSQR Media Protector – Prevent Used Image Deletion