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

CVE-2021-47932: WordPress TheCartPress Privilege Escalation

CVE-2021-47932 is a privilege escalation vulnerability in WordPress TheCartPress 1.5.3.6 that lets unauthenticated attackers create admin accounts. This post covers technical details, affected versions, impact, and mitigation.

Published: May 18, 2026

CVE-2021-47932 Overview

CVE-2021-47932 is an unauthenticated privilege escalation vulnerability in the WordPress plugin TheCartPress version 1.5.3.6. The plugin exposes an AJAX handler that accepts arbitrary role values from unauthenticated requests. Attackers can submit a crafted POST request to the tcp_register_and_login_ajax action with tcp_role set to administrator and obtain full administrative access to the WordPress site. The vulnerability maps to missing authorization [CWE-862] and carries a CVSS 4.0 score of 9.3.

Critical Impact

Unauthenticated attackers can create WordPress administrator accounts remotely, leading to full site takeover, content manipulation, and arbitrary plugin or theme installation.

Affected Products

  • WordPress plugin TheCartPress 1.5.3.6
  • WordPress sites with the TheCartPress eCommerce plugin enabled
  • Any deployment exposing the admin-ajax.php endpoint of an affected installation

Discovery Timeline

  • 2026-05-10 - CVE-2021-47932 published to the National Vulnerability Database (NVD)
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2021-47932

Vulnerability Analysis

TheCartPress registers an AJAX action handler named tcp_register_and_login_ajax that is accessible to both authenticated and unauthenticated users through WordPress admin-ajax.php. The handler accepts user-supplied registration parameters, including a tcp_role field, and uses that value when creating the new WordPress user account.

The plugin does not validate or restrict the role value submitted by the client. As a result, an attacker can pass administrator as the requested role and the plugin creates a privileged account on their behalf. No nonce, capability check, or authentication is required to reach the vulnerable code path.

Once the account is created, the attacker can log in through the standard WordPress login form and gain full control of the site. The flaw is documented in the VulnCheck Advisory on WordPress TheCartPress and the Exploit-DB entry #50378.

Root Cause

The root cause is missing authorization combined with improper input validation in the registration AJAX handler. The plugin trusts a client-controlled role parameter and passes it directly into the user creation routine. WordPress role assignment must be performed server-side using a fixed default role or a value gated by a capability check such as current_user_can('promote_users').

Attack Vector

The attack is fully remote and unauthenticated over the network. An attacker sends an HTTP POST request to wp-admin/admin-ajax.php with action=tcp_register_and_login_ajax, supplies registration fields such as username, password, and email, and sets tcp_role=administrator. The server responds by creating the requested administrator account, after which the attacker authenticates normally and proceeds with post-exploitation actions such as uploading malicious plugins or web shells.

A verified proof-of-concept request structure is published in the Exploit-DB entry #50378.

Detection Methods for CVE-2021-47932

Indicators of Compromise

  • POST requests to /wp-admin/admin-ajax.php containing the parameter action=tcp_register_and_login_ajax from unauthenticated sources.
  • Request bodies containing tcp_role=administrator or other elevated WordPress role values.
  • Unexpected new WordPress users with the administrator role created shortly after suspicious AJAX traffic.
  • Plugin installation, theme modification, or wp-content/uploads file uploads performed by newly created accounts.

Detection Strategies

  • Audit the WordPress wp_users and wp_usermeta tables for accounts assigned the administrator capability that were not provisioned by site administrators.
  • Inspect web server access logs for POST requests to admin-ajax.php referencing the tcp_register_and_login_ajax action.
  • Correlate new user registration events with subsequent privileged actions such as plugin uploads or option changes.

Monitoring Recommendations

  • Enable WordPress audit logging for user creation, role changes, and plugin installation events.
  • Forward web server and WordPress logs to a centralized analytics platform for retention and correlation.
  • Alert on any AJAX action containing role-related parameters submitted without an authenticated session cookie.

How to Mitigate CVE-2021-47932

Immediate Actions Required

  • Deactivate and remove TheCartPress 1.5.3.6 from all WordPress installations until a fixed release is confirmed.
  • Review all WordPress accounts and delete any unauthorized administrator users, then rotate credentials for legitimate administrators.
  • Restore the site from a known-good backup if unauthorized administrative activity is observed.
  • Inspect wp-content/plugins and wp-content/uploads for files added by attacker-controlled accounts.

Patch Information

No vendor patch is referenced in the available advisories. Site operators should monitor the official WordPress Plugin: TheCartPress listing for an updated release and apply it as soon as it becomes available. Until then, treat the plugin as end-of-life and replace it with a maintained eCommerce alternative.

Workarounds

  • Block requests to admin-ajax.php where the action parameter equals tcp_register_and_login_ajax using a web application firewall rule.
  • Disable user registration in WordPress under Settings → General by clearing the "Anyone can register" option.
  • Restrict access to wp-admin/admin-ajax.php from untrusted networks where feasible.
  • Replace TheCartPress with an actively maintained eCommerce plugin that receives security updates.
bash
# Example WAF rule (ModSecurity) to block the vulnerable AJAX action
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
    "chain,phase:2,deny,status:403,id:1047932,\
    msg:'Block CVE-2021-47932 TheCartPress privilege escalation'"
    SecRule ARGS:action "@streq tcp_register_and_login_ajax"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/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
  • AvailabilityHigh
  • CWE References
  • CWE-862
  • Technical References
  • WordPress Plugin: TheCartPress

  • Exploit-DB #50378

  • VulnCheck Advisory on WordPress TheCartPress
  • Related CVEs
  • CVE-2026-6510: InfusedWoo Pro Privilege Escalation Flaw

  • CVE-2026-6506: InfusedWoo Pro Privilege Escalation Flaw

  • CVE-2026-5193: Elementor Privilege Escalation Vulnerability

  • CVE-2026-7641: WordPress Import Plugin Privilege Escalation
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