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-47750

CVE-2021-47750: YouPHPTube XSS Vulnerability

CVE-2021-47750 is a cross-site scripting flaw in YouPHPTube <= 7.8 that allows attackers to inject malicious scripts via the redirectUri parameter. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2021-47750 Overview

CVE-2021-47750 is a Cross-Site Scripting (XSS) vulnerability affecting YouPHPTube versions 7.8 and earlier. This vulnerability allows attackers to inject malicious scripts through the redirectUri parameter in the signup page. Attackers can craft special signup URLs with embedded script tags to execute arbitrary JavaScript in victims' browsers when they access the signup page.

Critical Impact

Successful exploitation enables attackers to execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, credential theft, or phishing attacks against users of vulnerable YouPHPTube installations.

Affected Products

  • YouPHPTube versions 7.8 and earlier
  • YouPHPTube signup page functionality
  • Self-hosted video streaming platforms using vulnerable YouPHPTube versions

Discovery Timeline

  • 2026-01-13 - CVE CVE-2021-47750 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2021-47750

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw exists in the signup page functionality of YouPHPTube, where the redirectUri parameter is not properly sanitized before being reflected in the page output.

When a user visits a specially crafted signup URL, the malicious payload embedded in the redirectUri parameter is executed in the context of the victim's browser session. This allows attackers to perform various malicious actions including stealing session cookies, redirecting users to phishing pages, or performing actions on behalf of authenticated users.

Root Cause

The root cause of this vulnerability is insufficient input validation and output encoding on the redirectUri parameter within the YouPHPTube signup page. The application fails to properly sanitize user-supplied input before rendering it in the HTML response, allowing script tags and other malicious content to be executed in the browser.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker can exploit this vulnerability by:

  1. Crafting a malicious URL containing JavaScript code in the redirectUri parameter
  2. Distributing this URL to potential victims through social engineering methods such as phishing emails, social media posts, or compromised websites
  3. When a victim clicks the link and visits the signup page, the malicious script executes in their browser context

The vulnerability can be exploited without authentication, though it does require the victim to click on the malicious link. Technical details and proof-of-concept information can be found in the Exploit-DB #51101 and the VulnCheck YouPHPTube Advisory.

Detection Methods for CVE-2021-47750

Indicators of Compromise

  • Unusual URL patterns in web server logs containing encoded script tags or JavaScript in the redirectUri parameter
  • Login page requests with suspicious query strings containing <script>, javascript:, or event handlers like onerror or onload
  • Reports from users about unexpected browser behavior or suspicious redirects after visiting signup pages

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block XSS patterns in URL parameters
  • Monitor web server access logs for requests to the signup page containing suspicious encoded characters or script-related keywords
  • Deploy browser-based XSS detection mechanisms and Content Security Policy (CSP) headers to mitigate script injection attempts
  • Use security scanning tools to identify vulnerable YouPHPTube installations in your environment

Monitoring Recommendations

  • Enable verbose logging on web servers hosting YouPHPTube to capture full query strings
  • Set up alerts for anomalous patterns in the redirectUri parameter values
  • Monitor for CSP violation reports that may indicate XSS exploitation attempts
  • Review referrer logs for suspicious external sources linking to your signup page

How to Mitigate CVE-2021-47750

Immediate Actions Required

  • Upgrade YouPHPTube to the latest available version that addresses this vulnerability
  • Implement input validation on the redirectUri parameter to only accept whitelisted redirect destinations
  • Deploy Content Security Policy (CSP) headers to restrict script execution sources
  • Consider temporarily disabling the signup page redirect functionality until a patch is applied

Patch Information

Administrators should review the VulnCheck YouPHPTube Advisory for specific patch and upgrade information. For historical reference, archived information about the product can be found at the Web Archive YouPHPTube Snapshot.

Workarounds

  • Implement a strict allowlist for the redirectUri parameter, only permitting redirects to known-safe internal URLs
  • Add output encoding for all user-controlled parameters rendered in HTML responses
  • Deploy a Web Application Firewall (WAF) with XSS protection rules enabled
  • Implement Content Security Policy headers with script-src 'self' to prevent inline script execution
bash
# Example Content Security Policy header configuration for Apache
# Add to .htaccess or httpd.conf
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'none';"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechYouphptube

  • SeverityMEDIUM

  • CVSS Score5.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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
  • Web Archive YouPHPTube Snapshot

  • Exploit-DB #51101

  • VulnCheck YouPHPTube Advisory
  • Related CVEs
  • CVE-2021-47749: YouPHPTube Path Traversal 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