Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-60374 β€” CVE-2025-60374: Stored Cross-Site Scripting (XSS) in Perfex CRM Chatbot | Kitploit
Tools/GitHubGitHub/ajansha/cve-2025-60374
Vulnerability AnalysisCode AnalysisWeb Application ExploitationWeb SecurityPenetration Testing
GitHubajansha/cve-2025-60374

CVE-2025-60374

CVE-2025-60374: Stored Cross-Site Scripting (XSS) in Perfex CRM Chatbot

View Repository
181 year agoNot yet reviewed
Share

CVE-2025-60374

CVE-2025-60374: Stored Cross-Site Scripting (XSS) in Perfex CRM Chatbot

⚠️ Security Advisory
A critical Stored Cross-Site Scripting vulnerability in Perfex CRM's chatbot feature

CVE Severity CWE


πŸ“‹ Overview

A stored cross-site scripting (XSS) vulnerability in the chatbot component of Perfex CRM, prior to version 3.3.1, allows attackers to inject arbitrary JavaScript code through chat messages. The malicious payload is stored in the application database and executed in the browsers of users viewing the chat conversation, enabling session token theft, unauthorized actions on behalf of victims, and other client-side attacks.

🎯 Affected Versions

  • Product: Perfex CRM
  • Vendor: Perfex CRM
  • Vulnerable Versions: < 3.3.1
  • Fixed Version: 3.3.1+

πŸ” Vulnerability Details

AttributeValue
CVE IDCVE-2025-60374
TypeStored Cross-Site Scripting (XSS)
CWECWE-79
Attack VectorNetwork/Remote
AuthenticationRequired (Low Privilege)
User InteractionNone to Minimal
DiscovererAjansha Shankar

Description

The chatbot's message parameter in Perfex CRM lacks proper input sanitization and output encoding. When users submit messages through the chatbot interface, malicious HTML/JavaScript payloads are stored in the database without adequate filtering and subsequently rendered without proper escaping, leading to code execution in other users' browsers.

Root Cause

  • ❌ Insufficient input validation on chatbot message parameter
  • ❌ Missing output encoding when rendering stored messages
  • ❌ Session cookies not marked as HttpOnly
  • ❌ Lack of Content Security Policy (CSP)

πŸ’₯ Impact

Security Implications

  • πŸ”“ Session Hijacking: Attackers can steal session tokens via document.cookie access
  • πŸ‘€ Account Takeover: Complete compromise of victim accounts
  • 🎭 Privilege Escalation: Administrator account compromise if admin views malicious message
  • πŸ“Š Data Exfiltration: Access to sensitive information in user's browser context
  • πŸŽͺ Phishing: Ability to modify page content and redirect users

CIA Triad Assessment

FactorImpactExplanation
ConfidentialityπŸ”΄ HIGHSession tokens and sensitive data can be stolen
IntegrityπŸ”΄ HIGHUnauthorized actions can be performed as the victim
Availability🟑 LOWLimited impact on system availability

πŸ§ͺ Proof of Concept

PoC 1: Basic Image XSS

PoC 2: Interactive Button XSS

<button onclick=alert('Click executed!')>Click here</button>

PoC 3: Auto-playing Embedded Content

PoC 4: Event-based XSS

<meter value=2 min=0 max=10 onmouseover=alert('XSS triggered!')>
2 out of 10
</meter>

Real-World Attack Scenario

Cookie Theft Example:

This payload would send the victim's session cookie to an attacker-controlled server, enabling complete account takeover.

πŸ›‘οΈ Mitigation

For End Users

  1. βœ… Upgrade Immediately: Update to Perfex CRM v3.3.1 or later
  2. πŸ” Audit Messages: Review chatbot history for suspicious HTML/JavaScript content
  3. πŸ”„ Reset Sessions: Force all users to re-authenticate after patching
  4. πŸ“ Monitor Logs: Check for unusual chatbot activity

For Developers

Immediate Fixes

// Input Sanitization Example
$message = htmlspecialchars($input_message, ENT_QUOTES, 'UTF-8');

// Output Encoding Example
echo htmlspecialchars($stored_message, ENT_QUOTES, 'UTF-8');

Long-term Security Improvements

  1. Content Security Policy (CSP)
Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none';
  1. HttpOnly Cookies
setcookie('session', $value, [
    'httponly' => true,
    'secure' => true,
    'samesite' => 'Strict'
]);
  1. Input Validation Library
// Use DOMPurify, HTML Purifier, or similar
$clean_html = $purifier->purify($dirty_html);

πŸ“š References

  • CWE-79: Cross-site Scripting (XSS)
  • OWASP XSS Prevention Cheat Sheet
  • CVE-2025-60374 Official Entry

πŸ‘€ Credits

Discovered by: Ajansha Shankar , Ahamed Yaseen

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools β†’