A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2021-47962

CVE-2021-47962: Savsoft Quiz XSS Vulnerability

CVE-2021-47962 is a persistent XSS vulnerability in Savsoft Quiz 5.0 that allows authenticated attackers to inject malicious scripts into user profile fields. This post covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2021-47962 Overview

CVE-2021-47962 is a stored cross-site scripting (XSS) vulnerability in Savsoft Quiz 5.0, an open-source online quiz and examination platform. The flaw resides in the user account settings page exposed through the edit_user endpoint. Authenticated attackers can inject arbitrary HTML and JavaScript into profile fields, which are then stored server-side without proper sanitization or output encoding. When another user views the affected profile, the injected payload executes in their browser context. The issue is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Authenticated attackers can hijack sessions, steal authentication cookies, perform actions on behalf of other users, or pivot to administrative accounts when an administrator views the malicious profile.

Affected Products

  • Savsoft Quiz 5.0
  • Savsoft Quiz v5 (source distribution on the vendor GitHub repository)
  • Deployments referencing the edit_user profile endpoint

Discovery Timeline

  • 2026-05-15 - CVE-2021-47962 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2021-47962

Vulnerability Analysis

The vulnerability is a persistent (stored) XSS issue [CWE-79] in the Savsoft Quiz 5.0 user profile workflow. The application accepts user-supplied content submitted to the edit_user endpoint and writes it to the database without neutralizing HTML control characters. When that profile content is later rendered, the application emits the data into the HTML response without contextual output encoding.

Because the payload is stored, exploitation does not require the attacker to lure each victim with a crafted link. Any user, including instructors or administrators, who views the modified profile triggers script execution. This expands the blast radius compared with reflected XSS and enables follow-on attacks such as session theft, forced state-changing requests, and privilege escalation.

Public exploitation details are documented in Exploit-DB entry 49825 and the VulnCheck advisory for SavSoft Quiz.

Root Cause

The root cause is missing input validation and missing output encoding on profile fields handled by the edit_user action. The application trusts authenticated user input and writes the raw string to persistent storage. On render, the field is interpolated into HTML markup without HTML-entity encoding, allowing <script> tags and event-handler attributes to be parsed by the browser.

Attack Vector

Exploitation requires a low-privileged authenticated account on the target Savsoft Quiz instance. The attacker navigates to their account settings page, submits a payload containing JavaScript through one of the profile input fields, and saves the change. Any subsequent viewer of that profile receives the malicious markup as part of the page response, and the script executes within their session context. The vulnerability requires user interaction in the form of a victim viewing the profile.

No verified proof-of-concept code is published in the CVE record. For technical reproduction steps, refer to the Savsoft Quiz v5 repository and the Exploit-DB submission.

Detection Methods for CVE-2021-47962

Indicators of Compromise

  • Profile fields in the Savsoft Quiz user database containing HTML tags such as <script>, <img onerror=, <svg onload=, or javascript: URIs.
  • HTTP POST requests to the edit_user endpoint with body parameters containing angle brackets or encoded script payloads.
  • Outbound browser requests from authenticated sessions to unexpected third-party domains shortly after rendering a user profile page.

Detection Strategies

  • Inspect web server access logs for POST /edit_user requests where body or query parameters contain HTML metacharacters or known XSS strings.
  • Run database queries against the users table to identify stored values containing <, >, onerror=, onload=, or javascript:.
  • Deploy a web application firewall rule set, such as OWASP CRS, in front of the application and review blocked events for the edit_user path.

Monitoring Recommendations

  • Alert on authenticated sessions that issue document.cookie reads or anomalous fetch/XHR calls immediately after loading a profile view.
  • Track administrator account logins followed by unexpected privilege changes or new user creations, which may indicate session theft via XSS.
  • Forward web server, WAF, and application logs to a centralized analytics platform and build correlation rules around the edit_user endpoint.

How to Mitigate CVE-2021-47962

Immediate Actions Required

  • Audit all existing user profile records and strip or HTML-encode stored markup before redeploying the application.
  • Restrict access to the Savsoft Quiz instance to trusted networks, or place it behind authenticated VPN access until a fix is applied.
  • Rotate session tokens and force a password reset for administrative accounts that may have viewed untrusted profiles.

Patch Information

No official patched version is referenced in the CVE record at the time of publication. Monitor the Savsoft Quiz v5 GitHub repository and the vendor website for security updates. Until a vendor patch is available, apply server-side input validation and contextual output encoding on every field rendered from the users table.

Workarounds

  • Implement a server-side allowlist that rejects HTML metacharacters in profile fields handled by edit_user.
  • Apply HTML-entity encoding on output rendering for every user-controlled profile field.
  • Deploy a strict Content Security Policy that disallows inline scripts and restricts script sources to the application origin.
  • Enable HttpOnly and Secure flags on session cookies to reduce the impact of successful script execution.
bash
# Example nginx Content Security Policy header to limit XSS impact
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSavsoft Quiz

  • 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:N/VI:N/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
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub PoC Repository

  • SavSoft Quiz Website

  • Exploit-DB #49825

  • VulnCheck Advisory on SavSoft Quiz
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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