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-2021-47947

CVE-2021-47947: ProjectSend Stored XSS Vulnerability

CVE-2021-47947 is a stored XSS vulnerability in ProjectSend r1295 that lets authenticated attackers inject malicious scripts via file names. This article covers technical details, affected versions, attack impact, and mitigation.

Published: May 18, 2026

CVE-2021-47947 Overview

CVE-2021-47947 is a stored cross-site scripting (XSS) vulnerability in ProjectSend r1295, a self-hosted file-sharing application. Authenticated attackers can inject JavaScript payloads through the name parameter in files-edit.php. The malicious script is persisted server-side and executed in the browser of any user who later views the affected file. System Administrator users viewing the Dashboard page are particularly exposed because file listings render there by default. The flaw is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation).

Critical Impact

An authenticated attacker can execute arbitrary JavaScript in an administrator's session, enabling session hijacking, privileged action abuse, and further account compromise within ProjectSend.

Affected Products

  • ProjectSend r1295
  • ProjectSend self-hosted file-sharing deployments running r1295
  • Web browsers rendering file metadata served by vulnerable ProjectSend instances

Discovery Timeline

  • 2026-05-10 - CVE-2021-47947 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2021-47947

Vulnerability Analysis

The vulnerability resides in files-edit.php, which accepts user-controlled input for the file name field without proper output encoding. ProjectSend stores the supplied value and later renders it inside HTML contexts such as the Dashboard file list. Because the application does not neutralize HTML or JavaScript metacharacters, an attacker can place a payload like an inline <script> block or an event handler attribute inside the file name. When another authenticated user, including a System Administrator, loads the page that lists the file, the browser parses the stored markup and executes the script in the context of the victim's session.

The issue is classified as stored XSS [CWE-79]. Exploitation requires an authenticated account that is permitted to upload or edit files. Once persisted, the payload triggers for every viewer of the affected resource until the entry is sanitized or removed.

Root Cause

The root cause is missing output encoding and inadequate input sanitization on the name parameter handled by files-edit.php. ProjectSend r1295 stores the raw value in its database and reflects it back into HTML without escaping characters such as <, >, ", and '. The application also lacks a strict Content Security Policy that would mitigate inline script execution.

Attack Vector

The attack vector is network-based and requires low-privilege authentication plus user interaction by a victim viewing the file listing. An attacker uploads or edits a file and supplies a name value containing a JavaScript payload. The payload is stored server-side. When a higher-privileged user, such as a System Administrator, opens the Dashboard, the browser executes the attacker's script. The attacker can steal session cookies, perform actions on behalf of the administrator, or pivot to other application functionality. See the VulnCheck Advisory on ProjectSend and Exploit-DB #50240 for technical details.

Detection Methods for CVE-2021-47947

Indicators of Compromise

  • File entries in the ProjectSend database whose name column contains HTML tags, <script> blocks, onerror, onload, or javascript: URIs.
  • Web server access logs showing POST requests to files-edit.php with name parameter values containing angle brackets or URL-encoded script payloads.
  • Outbound network connections from administrator browsers to attacker-controlled domains shortly after viewing the Dashboard.

Detection Strategies

  • Query the ProjectSend file metadata tables for rows where the name field matches regex patterns for HTML or JavaScript syntax.
  • Inspect HTTP request bodies to files-edit.php for encoded payloads such as %3Cscript%3E or attribute breakouts.
  • Review browser console errors and Content Security Policy violation reports from administrator sessions.

Monitoring Recommendations

  • Enable web application firewall logging for all requests to files-edit.php and alert on payloads matching XSS signatures.
  • Monitor administrator authentication sessions for anomalous activity following Dashboard access, including unexpected user creations or permission changes.
  • Aggregate ProjectSend and web server logs into a centralized analytics pipeline for cross-correlation of upload events and subsequent administrator activity.

How to Mitigate CVE-2021-47947

Immediate Actions Required

  • Upgrade ProjectSend to a release later than r1295 that addresses the stored XSS issue. Consult the ProjectSend Official Site and the ProjectSend Download page for current builds.
  • Audit existing file entries and remove or sanitize any name values containing HTML or JavaScript syntax.
  • Rotate session cookies and credentials for administrator accounts that may have viewed malicious file entries.

Patch Information

Upgrade to a ProjectSend version newer than r1295. Refer to the VulnCheck Advisory on ProjectSend for fix references and to the ProjectSend Official Site for the latest release notes. Restrict file upload and edit permissions to trusted users until patching is complete.

Workarounds

  • Restrict access to files-edit.php to a limited set of trusted authenticated users via web server access control rules.
  • Deploy a web application firewall rule that blocks requests to files-edit.php whose name parameter contains <, >, or known XSS keywords such as script, onerror, or javascript:.
  • Enforce a strict Content Security Policy that disallows inline scripts and limits script sources, reducing impact if a payload is stored.
  • Require administrators to use isolated browser profiles when managing ProjectSend, limiting cookie reuse across sessions.

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechProjectsend

  • 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
  • Exploit-DB #50240

  • ProjectSend Official Site

  • ProjectSend Download #387

  • VulnCheck Advisory on ProjectSend
  • Related CVEs
  • CVE-2026-5624: ProjectSend CSRF Vulnerability

  • CVE-2026-3977: ProjectSend Auth Bypass Vulnerability

  • CVE-2026-4044: ProjectSend Path Traversal Vulnerability

  • CVE-2026-4045: ProjectSend Auth Bypass 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