CropRefine Security & Risk Analysis

wordpress.org/plugins/croprefine

Giving you greater control over how each of your media item sizes are cropped.

100 active installs v1.2.1 PHP + WP 3.2.1+ Updated Jun 14, 2021
imagemediaresizethumbnailupload
63
C · Use Caution
CVEs total1
Unpatched1
Last CVEJul 23, 2025
Safety Verdict

Is CropRefine Safe to Use in 2026?

Use With Caution

Score 63/100

CropRefine has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Jul 23, 2025Updated 4yr ago
Risk Assessment

The "croprefine" v1.2.1 plugin exhibits a mixed security posture. While it demonstrates good practices such as using prepared statements for all SQL queries and a reasonable rate of output escaping (74%), significant concerns arise from its attack surface and vulnerability history. The presence of two AJAX handlers, both entirely lacking authentication checks, represents a direct and easily exploitable entry point for attackers. This, combined with the absence of nonce checks, indicates a high risk of unauthorized actions being performed through these handlers.

The vulnerability history reveals a pattern of past security weaknesses, specifically a known medium-severity Cross-Site Scripting (XSS) vulnerability that remains unpatched. The fact that the last vulnerability was recorded as "2025-07-23 00:00:00" suggests a potential for ongoing or recurring security issues, especially given the unpatched status. While no critical taint flows or dangerous functions were detected in the static analysis, the combination of unprotected entry points and a history of exploitable vulnerabilities points to a moderate to high-risk plugin that requires immediate attention and patching.

Key Concerns

  • Unprotected AJAX handlers
  • Missing nonce checks on AJAX
  • Unpatched medium vulnerability
  • Lower than ideal output escaping
Vulnerabilities
1

CropRefine Security Vulnerabilities

CVEs by Year

1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-52734medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CropRefine <= 1.2.1 - Reflected Cross-Site Scripting

Jul 23, 2025Unpatched
Code Analysis
Analyzed Mar 16, 2026

CropRefine Code Analysis

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

Output Escaping

74% escaped31 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<croprefine> (croprefine.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

CropRefine Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_getimagecroprefine.php:46
authwp_ajax_cropimagecroprefine.php:47
WordPress Hooks 6
actionadmin_initcroprefine.php:34
actionadmin_menucroprefine.php:35
filtermedia_row_actionscroprefine.php:228
actionattachment_fields_to_editcroprefine.php:240
actionprint_media_templatescroprefine.php:255
actionattachment_submitbox_misc_actionscroprefine.php:510
Maintenance & Trust

CropRefine Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedJun 14, 2021
PHP min version
Downloads5K

Community Trust

Rating100/100
Number of ratings5
Active installs100
Developer Profile

CropRefine Developer Profile

ERA404

5 plugins · 320 total installs

58
trust score
Avg Security Score
70/100
Avg Patch Time
314 days
View full developer profile
Detection Fingerprints

How We Detect CropRefine

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/croprefine/croprefine.css/wp-content/plugins/croprefine/cropper/cropper.css
Script Paths
/wp-content/plugins/croprefine/croprefine.js/wp-content/plugins/croprefine/cropper/cropper.js
Version Parameters
croprefine/croprefine.css?ver=croprefine/cropper/cropper.css?ver=croprefine/croprefine.js?ver=croprefine/cropper/cropper.js?ver=

HTML / DOM Fingerprints

CSS Classes
croprefine-administrationcroprefine-stylescroprefine-cropper-stylesmodal-croppermodal-cropper-hideedit-attachment-framemedia-frame-titlemedia-frame-content+15 more
HTML Comments
custom wrappersuccessful uploadsrequesting an image be refineddoes this operation come from a post?+6 more
Data Attributes
data-id='10'aria-label='Embedded Image'aria-checked='false'role='checkbox'tabindex='0'
JS Globals
ajax_objectmediaitem
FAQ

Frequently Asked Questions about CropRefine