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

CVE-2021-47950: Advanced Guestbook 2.4.4 XSS Vulnerability

CVE-2021-47950 is a persistent cross-site scripting flaw in Advanced Guestbook 2.4.4 that lets authenticated attackers inject malicious scripts via the smilies admin interface. This article covers technical details, impact, and mitigation.

Published: May 18, 2026

CVE-2021-47950 Overview

CVE-2021-47950 is a stored cross-site scripting vulnerability [CWE-79] in Advanced Guestbook 2.4.4. The flaw resides in the smilies administration interface accessible through admin.php. Authenticated attackers can inject arbitrary JavaScript by manipulating the s_emotion parameter in POST requests. The injected payload persists in the application and executes when an administrator views the smilies tab.

The vulnerability requires low-privilege authentication and user interaction from a victim administrator. Successful exploitation enables session hijacking, administrative action forgery, and content manipulation within the affected guestbook installation.

Critical Impact

Authenticated attackers can persist malicious JavaScript that executes in administrator browsers, enabling account takeover and full guestbook compromise.

Affected Products

  • Advanced Guestbook 2.4.4
  • AMPPS Advanced Guestbook distribution
  • Earlier versions sharing the vulnerable smilies handler

Discovery Timeline

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

Technical Details for CVE-2021-47950

Vulnerability Analysis

The vulnerability is a persistent cross-site scripting flaw in the smilies management feature of Advanced Guestbook 2.4.4. The application accepts user-supplied input through the s_emotion POST parameter without sanitization or output encoding. The value is stored server-side and later rendered into the administrative HTML response when an operator opens the smilies tab.

Because the payload executes in the administrative context, attackers can perform any action available to the logged-in admin. This includes creating accounts, modifying guestbook entries, exfiltrating session cookies, and pivoting toward the underlying hosting environment. The Common Weakness Enumeration mapping is [CWE-79] Improper Neutralization of Input During Web Page Generation.

The EPSS probability for this CVE is 0.032% with a percentile of 9.393, reflecting limited automated exploitation activity. A public proof of concept is available through Exploit-DB entry 49875.

Root Cause

The root cause is missing input validation and output encoding on the s_emotion field within the smilies administration handler in admin.php. The application trusts authenticated administrative input and writes it directly into the rendered HTML without HTML-entity encoding or contextual escaping.

Attack Vector

An authenticated attacker submits a crafted POST request to admin.php with JavaScript content in the s_emotion parameter. The payload is stored in the smilies configuration. When a higher-privileged administrator subsequently loads the smilies tab, the browser parses and executes the injected script under the application's origin. See the VulnCheck Advisory on XSS and Exploit-DB #49875 for technical details.

Detection Methods for CVE-2021-47950

Indicators of Compromise

  • POST requests to admin.php containing <script>, onerror=, or javascript: substrings in the s_emotion parameter
  • Smilies configuration records storing HTML or JavaScript syntax rather than emoticon text
  • Unexpected outbound requests from administrator browser sessions immediately after loading the smilies tab
  • New administrative accounts or modified entries created shortly after an admin session

Detection Strategies

  • Inspect web server access logs for POST traffic to admin.php with suspicious s_emotion values
  • Apply WAF signatures that flag script tags, event handlers, and encoded JavaScript in form parameters
  • Review the smilies database table for entries containing markup or non-printable characters
  • Correlate administrator authentication events with subsequent anomalous administrative actions

Monitoring Recommendations

  • Enable verbose application logging for the smilies administration endpoint
  • Forward web server and database logs to a centralized analytics platform for retention and search
  • Alert on Content Security Policy violations reported by administrator browsers
  • Monitor for outbound HTTP requests from admin sessions to untrusted external hosts

How to Mitigate CVE-2021-47950

Immediate Actions Required

  • Restrict access to admin.php using IP allowlisting or HTTP authentication at the web server layer
  • Audit all existing smilies records and remove any entries containing HTML or script content
  • Rotate administrative credentials and invalidate active sessions
  • Deploy a Content Security Policy that disallows inline script execution in administrative pages

Patch Information

No vendor patch has been published in the available references. Operators should evaluate migration away from Advanced Guestbook 2.4.4 or apply input sanitization manually to the smilies handler. Review the AMPPS Advanced Guestbook project page for any updated distributions.

Workarounds

  • Disable the smilies administration interface if it is not required for normal operation
  • Place a web application firewall in front of the application with rules blocking script payloads in s_emotion
  • Apply server-side HTML-entity encoding to smilies fields before storage and on output rendering
  • Limit administrative access to trusted networks via VPN or reverse proxy authentication
bash
# Example nginx rule blocking script payloads in the s_emotion parameter
location = /admin.php {
    if ($request_method = POST) {
        if ($request_body ~* "s_emotion=[^&]*(<script|onerror=|javascript:)") {
            return 403;
        }
    }
}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAdvanced Guestbook

  • 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
  • AMPPS Advanced Guestbook

  • Exploit-DB #49875

  • VulnCheck Advisory on XSS
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS 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