The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-36931

CVE-2020-36931: Click2Magic Stored XSS Vulnerability

CVE-2020-36931 is a stored XSS vulnerability in Click2Magic 1.1.5 that enables attackers to inject malicious scripts via chat names to steal admin cookies. This article covers technical details, impact, and mitigation.

Published: January 30, 2026

CVE-2020-36931 Overview

CVE-2020-36931 is a stored cross-site scripting (XSS) vulnerability in Click2Magic version 1.1.5, a customer support and live chat application. The vulnerability exists in the chat name input field, where attackers can inject malicious scripts that persist in the application. When administrators process user requests containing these malicious payloads, the injected scripts execute in the admin's browser context, potentially allowing attackers to steal session cookies and sensitive authentication data.

Critical Impact

Attackers can capture administrator cookies and session tokens by crafting malicious payloads in chat name fields, potentially leading to account takeover of administrative accounts.

Affected Products

  • Click2Magic version 1.1.5
  • Click2Magic live chat application
  • Click2Magic customer support platform

Discovery Timeline

  • 2026-01-25 - CVE CVE-2020-36931 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2020-36931

Vulnerability Analysis

This stored cross-site scripting vulnerability stems from insufficient input validation and output encoding in the Click2Magic chat application. The application fails to properly sanitize user-supplied input in the chat name field before storing it in the database and subsequently rendering it in administrative interfaces.

The stored nature of this XSS vulnerability makes it particularly dangerous. Unlike reflected XSS where an attacker must trick a victim into clicking a malicious link, stored XSS payloads persist on the server. Every time an administrator accesses the dashboard to review or process user chat requests, the malicious script executes automatically. This creates a reliable attack vector for session hijacking and credential theft.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which encompasses various forms of cross-site scripting attacks.

Root Cause

The root cause of CVE-2020-36931 is improper input validation and insufficient output encoding in the Click2Magic application. When a user initiates a chat session and provides their name, the application stores this value directly without sanitizing potentially dangerous characters or scripts. When administrators view the chat request, the unsanitized name field is rendered directly into the HTML page without proper encoding, allowing injected JavaScript code to execute in the administrator's browser context.

Attack Vector

The attack is executed over the network, requiring the attacker to have a low level of access to initiate a chat session. The attack flow involves the following steps:

  1. An attacker accesses the Click2Magic chat widget on a target website
  2. When prompted for a name, the attacker enters a malicious JavaScript payload instead of a legitimate name
  3. The payload is stored in the application database
  4. When an administrator reviews or processes the chat request, the malicious script executes in their browser
  5. The script can exfiltrate cookies, session tokens, or perform actions on behalf of the administrator

A public exploit is available on Exploit-DB #49347, which demonstrates the technique for injecting JavaScript payloads through the chat name field to capture administrator session data.

Detection Methods for CVE-2020-36931

Indicators of Compromise

  • Unusual JavaScript code or HTML entities appearing in chat name fields in the database
  • Script tags, event handlers (e.g., onerror, onload), or encoded payloads in user-submitted chat names
  • Outbound connections from administrator browsers to unexpected external domains
  • Administrator session cookies being used from unexpected IP addresses or geographic locations

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block common XSS payloads in input fields
  • Monitor server logs for requests containing suspicious JavaScript patterns or encoded script elements
  • Deploy browser-based XSS detection tools that can identify malicious script execution in administrative interfaces
  • Utilize SentinelOne's Singularity platform to monitor endpoint behavior for signs of session hijacking or credential theft attempts

Monitoring Recommendations

  • Enable comprehensive logging for all user input fields in the Click2Magic application
  • Configure alerts for administrator accounts being accessed from new locations or devices
  • Monitor for unusual administrative actions that could indicate compromised sessions
  • Implement Content Security Policy (CSP) headers and monitor for policy violations that may indicate XSS attempts

How to Mitigate CVE-2020-36931

Immediate Actions Required

  • Upgrade Click2Magic to the latest available version that addresses this vulnerability
  • Review existing chat records for potentially malicious payloads in name fields
  • Reset administrator session tokens and credentials as a precautionary measure
  • Implement additional input validation on chat name fields as a defense-in-depth measure
  • Enable Content Security Policy (CSP) headers to restrict script execution sources

Patch Information

Organizations using Click2Magic version 1.1.5 should check the Click2Magic Homepage for security updates and patched versions. The VulnCheck Advisory on ClickMagic provides additional context on addressing this vulnerability. Until an official patch is available, organizations should implement the workarounds described below.

Workarounds

  • Implement server-side input validation to strip or encode special characters from the chat name field
  • Deploy a Web Application Firewall (WAF) with rules to detect and block XSS payloads
  • Configure Content Security Policy (CSP) headers with strict script-src directives to prevent inline script execution
  • Consider using HTTP-only and Secure flags on session cookies to mitigate cookie theft even if XSS occurs
  • Restrict administrative access to the Click2Magic interface to trusted networks or VPN connections
bash
# Example Content Security Policy header configuration for Apache
# Add to .htaccess or Apache configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; frame-ancestors 'self';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechClick2magic

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Click2Magic Homepage

  • Click2Magic User Agent

  • Exploit-DB #49347

  • VulnCheck Advisory on ClickMagic
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English