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

CVE-2021-29484: Ghost CMS Auth Bypass Vulnerability

CVE-2021-29484 is an authentication bypass vulnerability in Ghost CMS that allows attackers to gain unauthorized admin access through malicious links. This article covers the technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-29484 Overview

CVE-2021-29484 is a Cross-Site Scripting (XSS) vulnerability affecting Ghost, a popular Node.js-based content management system. An unused endpoint introduced during the development of Ghost version 4.0.0 left sites vulnerable to untrusted users gaining unauthorized access to Ghost Admin. This vulnerability allows attackers to gain administrative access by tricking logged-in users into clicking a link containing malicious code.

Critical Impact

Attackers can compromise Ghost Admin accounts through social engineering attacks without requiring victims to enter credentials. Users may be completely unaware they've visited a malicious site, leading to full administrative takeover of Ghost CMS installations.

Affected Products

  • Ghost CMS versions 4.0.0 through 4.3.2
  • Self-hosted Ghost installations running vulnerable versions
  • Ghost(Pro) hosted instances (patched prior to public disclosure)

Discovery Timeline

  • April 29, 2021 - CVE-2021-29484 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-29484

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Cross-Site Scripting). The flaw exists in an unused development endpoint (/ghost/preview) that was inadvertently left in production releases. The endpoint lacks proper input validation and output encoding, enabling attackers to inject malicious scripts that execute in the context of authenticated Ghost administrator sessions.

The attack requires user interaction—specifically, a logged-in Ghost administrator must click a maliciously crafted link. Once clicked, the injected script executes with the privileges of the authenticated user, potentially allowing complete administrative takeover. The scope is changed, meaning the vulnerability can affect resources beyond the vulnerable component itself, impacting confidentiality and integrity of the Ghost CMS installation.

Root Cause

The root cause is an unused endpoint (/ghost/preview) that was added during the development cycle of Ghost 4.0.0 but was never removed before production release. This endpoint did not implement proper input sanitization or output encoding, creating a reflected XSS attack surface. Development artifacts left in production code represent a common security oversight that can have significant security implications.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker crafts a malicious URL targeting the vulnerable /ghost/preview endpoint with embedded JavaScript payload. When an authenticated Ghost administrator clicks this link—potentially through phishing emails, forum posts, or other social engineering methods—the malicious script executes within their browser session with their authentication context.

The attack does not require the attacker to have any privileges on the target Ghost installation. The victim does not need to enter credentials, and the attack can be completely invisible to the user, making detection particularly challenging.

Detection Methods for CVE-2021-29484

Indicators of Compromise

  • Unexpected access logs showing requests to the /ghost/preview endpoint with suspicious query parameters
  • Administrative actions performed without corresponding legitimate user activity
  • Unusual session behavior or multiple concurrent admin sessions for the same user
  • HTTP request logs containing encoded JavaScript or HTML in URL parameters targeting Ghost endpoints

Detection Strategies

  • Monitor web server access logs for requests to /ghost/preview endpoint, especially those containing encoded payloads
  • Implement web application firewall (WAF) rules to detect and block XSS patterns in requests to Ghost CMS
  • Review Ghost admin audit logs for administrative actions that don't correlate with expected user behavior
  • Deploy network monitoring to identify suspicious outbound connections from Ghost server infrastructure

Monitoring Recommendations

  • Enable detailed access logging on Ghost CMS installations and forward logs to centralized SIEM
  • Configure alerting for any access attempts to the /ghost/preview endpoint
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact
  • Monitor for unusual authentication patterns or session anomalies in Ghost Admin

How to Mitigate CVE-2021-29484

Immediate Actions Required

  • Upgrade Ghost CMS to version 4.3.3 or later immediately
  • If immediate upgrade is not possible, block access to /ghost/preview endpoint at the web server or reverse proxy level
  • Review Ghost admin access logs for any suspicious activity during the exposure window
  • Educate administrative users about phishing risks and suspicious links

Patch Information

Ghost has released version 4.3.3 which completely removes the vulnerable /ghost/preview endpoint. All Ghost 4.x installations should upgrade as soon as possible. Ghost(Pro) managed hosting customers have already been patched automatically. Self-hosted installations require manual upgrade action.

For detailed patch information, refer to the GitHub Security Advisory GHSA-9fgx-q25h-jxrg and the Ghost Forum Security Update.

Workarounds

  • Block access to /ghost/preview at the web server, reverse proxy, or load balancer level
  • Implement WAF rules to filter requests containing XSS patterns targeting Ghost endpoints
  • Restrict Ghost Admin access to trusted IP ranges or VPN connections
  • Consider temporarily disabling external access to Ghost Admin interface until patching is complete
bash
# Nginx configuration to block vulnerable endpoint
location /ghost/preview {
    deny all;
    return 403;
}

# Apache .htaccess configuration
<Location "/ghost/preview">
    Require all denied
</Location>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGhost

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability82.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • SonarSource Blog Post

  • NPM Package Details for Ghost
  • Vendor Resources
  • Ghost Forum Security Update

  • GitHub Security Advisory GHSA-9fgx-q25h-jxrg
  • Related CVEs
  • CVE-2026-22595: Ghost CMS Auth Bypass Vulnerability

  • CVE-2026-22594: Ghost CMS 2FA Auth Bypass Vulnerability

  • CVE-2024-34451: Ghost Authentication Bypass Vulnerability

  • CVE-2022-41654: Ghost Authentication 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