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
    • 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-36993

CVE-2020-36993: LimeSurvey Stored XSS Vulnerability

CVE-2020-36993 is a stored XSS flaw in LimeSurvey 4.3.10 affecting the Survey Menu functionality. Attackers can inject malicious SVG scripts to execute JavaScript in admin contexts. This article covers technical details and mitigation.

Published: January 30, 2026

CVE-2020-36993 Overview

CVE-2020-36993 is a stored cross-site scripting (XSS) vulnerability affecting LimeSurvey version 4.3.10. The vulnerability exists within the Survey Menu functionality of the administration panel, where attackers can inject malicious SVG scripts through the Surveymenu[title] and Surveymenu[parent_id] parameters. Once injected, the malicious JavaScript persists in the application and executes whenever administrative users access the affected pages, potentially leading to session hijacking, credential theft, or administrative account compromise.

Critical Impact

Authenticated attackers with access to the LimeSurvey administration panel can inject persistent malicious scripts that execute in the context of other administrators, enabling session hijacking and unauthorized administrative actions.

Affected Products

  • LimeSurvey 4.3.10
  • LimeSurvey versions prior to the security patch commit 3712854a8fd8d875c67640969a1d54c4d93d3676

Discovery Timeline

  • 2026-01-28 - CVE-2020-36993 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2020-36993

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) stems from insufficient input sanitization in the LimeSurvey administration panel's Survey Menu controller. The application fails to properly sanitize user-supplied input in the Surveymenu[title] and Surveymenu[description] parameters before storing them in the database and subsequently rendering them in administrative views.

The vulnerability requires authentication with access to the administration panel, meaning an attacker must first obtain valid credentials or compromise an existing account. However, once the malicious payload is stored, it will execute in the browser context of any administrator who views the affected Survey Menu content. This creates a privilege escalation pathway where a lower-privileged authenticated user could potentially compromise higher-privileged administrative accounts.

Root Cause

The root cause is improper input validation in the SurveymenuController.php file. When processing POST requests for survey menu creation or updates, the application directly accepts user input without sanitization. The title and description fields are stored as-is in the database and later rendered without proper output encoding, allowing embedded SVG scripts or other JavaScript payloads to execute when the page is rendered.

Attack Vector

The attack requires network access and an authenticated session to the LimeSurvey administration panel. An attacker crafts a malicious POST request containing JavaScript payload in SVG format within the Surveymenu[title] or Surveymenu[description] parameters. When an administrator navigates to the Survey Menu section, the stored payload executes in their browser session, potentially allowing the attacker to steal session tokens, modify survey configurations, create new administrative accounts, or perform other unauthorized actions.

php
// Security patch in application/controllers/admin/SurveymenuController.php
// Source: https://github.com/LimeSurvey/LimeSurvey/commit/3712854a8fd8d875c67640969a1d54c4d93d3676

         $success = false;
         if (Yii::app()->request->isPostRequest) {
             $aSurveymenu = Yii::app()->request->getPost('Surveymenu', []);
+            // Sanitize title and description to prevent XSS attack
+            if (isset($aSurveymenu['title'])) {
+                $aSurveymenu['title'] = flattenText($aSurveymenu['title'], false, true);
+            }
+            if (isset($aSurveymenu['description'])) {
+                $aSurveymenu['description'] = flattenText($aSurveymenu['description'], false, true);
+            }
             if ($aSurveymenu['id'] == '') {
                 unset($aSurveymenu['id']);
                 $aSurveymenu['created_at'] = date('Y-m-d H:i:s');

The fix applies the flattenText() function to sanitize user input before processing, stripping potentially malicious HTML and JavaScript content.

Detection Methods for CVE-2020-36993

Indicators of Compromise

  • Presence of SVG tags or JavaScript code in survey menu titles or descriptions in the database
  • Unexpected <script>, <svg>, or onload attributes in LimeSurvey database fields
  • Unusual administrative session activity or session tokens being sent to external domains
  • Web server logs showing POST requests to Survey Menu endpoints with encoded script payloads

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS payload patterns in POST parameters targeting /admin/surveymenu endpoints
  • Review database contents for survey menu entries containing HTML tags, SVG elements, or JavaScript event handlers
  • Monitor Content Security Policy (CSP) violation reports for inline script execution attempts
  • Deploy SentinelOne Singularity XDR to detect anomalous browser behavior and exfiltration attempts from administrative sessions

Monitoring Recommendations

  • Enable detailed logging for the LimeSurvey administration panel and monitor for suspicious Survey Menu modifications
  • Configure browser-based monitoring to detect script injection attempts and unexpected DOM modifications
  • Set up alerts for outbound network connections from administrative workstations to unknown domains following LimeSurvey access
  • Regularly audit survey menu entries for unexpected or encoded content

How to Mitigate CVE-2020-36993

Immediate Actions Required

  • Update LimeSurvey to a version that includes the security patch (commit 3712854a8fd8d875c67640969a1d54c4d93d3676 or later)
  • Review and sanitize existing survey menu entries in the database for malicious content
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact
  • Restrict administrative panel access to trusted networks and require multi-factor authentication

Patch Information

LimeSurvey has released a security patch addressing this vulnerability. The fix is available in commit 3712854a8fd8d875c67640969a1d54c4d93d3676. The patch adds input sanitization using the flattenText() function for both the title and description fields in the Survey Menu controller, as well as the full_name field in the User Management controller. Organizations should update to the latest LimeSurvey version that incorporates this fix.

For additional technical details, refer to the VulnCheck Advisory for LimeSurvey and Exploit-DB #48762.

Workarounds

  • If immediate patching is not possible, restrict access to the LimeSurvey administration panel to a limited set of trusted users
  • Implement a Web Application Firewall (WAF) with XSS detection rules to filter malicious payloads
  • Add Content Security Policy headers to prevent inline script execution: Content-Security-Policy: script-src 'self';
  • Manually sanitize database entries by removing any HTML or script content from survey menu title and description fields
bash
# Configuration example - Add CSP headers in Apache
# Add to .htaccess or Apache configuration for LimeSurvey

Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'self';"
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechLimesurvey

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.03%

  • 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
  • GitHub Commit Update

  • Exploit-DB #48762

  • LimeSurvey Official Site

  • VulnCheck Advisory for LimeSurvey
  • Related CVEs
  • CVE-2025-56422: LimeSurvey RCE Vulnerability

  • CVE-2025-56421: LimeSurvey SQL Injection 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