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

CVE-2021-47926: Contact Form to Email XSS Vulnerability

CVE-2021-47926 is a stored cross-site scripting flaw in Contact Form to Email 1.3.24 that allows authenticated attackers to inject malicious scripts. This post covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2021-47926 Overview

CVE-2021-47926 is a stored cross-site scripting (XSS) vulnerability [CWE-79] in the Contact Form to Email WordPress plugin version 1.3.24. The flaw exists in the form name input field, which fails to sanitize HTML and JavaScript content before storage. Authenticated attackers with form creation privileges can embed <script> tags inside form names. When other logged-in administrators or editors visit the form management page, the injected payload executes in their browser session. Successful exploitation enables session hijacking, credential theft, and unauthorized actions performed under the victim's WordPress privileges.

Critical Impact

Authenticated attackers can persist JavaScript payloads in the plugin's form management interface, leading to session theft and privileged account compromise when administrators view stored forms.

Affected Products

  • Contact Form to Email plugin version 1.3.24 for WordPress
  • WordPress installations using the affected plugin version
  • Form2Email (DWBooster) component on WordPress sites

Discovery Timeline

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

Technical Details for CVE-2021-47926

Vulnerability Analysis

The vulnerability is a stored XSS issue in the Contact Form to Email plugin version 1.3.24. The plugin accepts arbitrary input in the form name field during form creation. Input is persisted to the database without HTML entity encoding or tag stripping. The stored value is later rendered directly into the form management page DOM.

When an administrator loads the form list, the browser parses the injected <script> tags and executes the attacker-controlled JavaScript. The payload runs with the privileges of the viewing user. This enables theft of WordPress authentication cookies, CSRF token exfiltration, and arbitrary administrative actions via the WordPress REST API.

The issue is classified under [CWE-79] Improper Neutralization of Input During Web Page Generation. Exploitation requires an authenticated account with permission to create forms, and a second user with access to the management page must view the malicious form.

Root Cause

The root cause is missing output encoding on user-supplied form name values. The plugin does not apply WordPress sanitization functions such as sanitize_text_field() on input or esc_html() on output. Form name strings are concatenated into HTML without context-aware escaping.

Attack Vector

An authenticated attacker with plugin access creates a new form. The attacker sets the form name to a value containing JavaScript, such as a <script> tag with a remote payload loader or an inline event handler. The malicious form is saved to the WordPress database via the plugin's form storage mechanism.

When a higher-privileged user opens the form management screen, the stored script executes in their authenticated session context. Public exploit details are documented in the Exploit-DB #50524 entry and the VulnCheck WordPress XSS Advisory.

No verified proof-of-concept code is reproduced here. See the referenced advisories for technical exploitation details.

Detection Methods for CVE-2021-47926

Indicators of Compromise

  • Form records in the plugin's database tables containing <script>, onerror=, onload=, or javascript: strings in name fields
  • Unexpected outbound HTTP requests from administrator browser sessions to attacker-controlled domains shortly after accessing the form management page
  • New WordPress administrator accounts or modified user roles created without a corresponding audit trail
  • Anomalous session cookie reuse from geographically distant IP addresses

Detection Strategies

  • Query the WordPress database for plugin form records and search the name column for HTML tag characters and JavaScript event handler patterns
  • Inspect web server access logs for POST requests to the plugin's form creation endpoint with payloads containing encoded < and > characters
  • Monitor browser-side telemetry on administrator endpoints for unexpected script execution originating from WordPress admin pages
  • Review WordPress audit logs for form creation events performed by low-privilege users immediately preceding administrator activity

Monitoring Recommendations

  • Enable a WordPress activity logging plugin to capture form creation, modification, and viewing events with user attribution
  • Deploy a web application firewall rule set that inspects POST bodies to plugin admin endpoints for script tag patterns
  • Alert on administrator account changes, password resets, and new user creation occurring within minutes of form management page visits
  • Continuously baseline outbound network traffic from workstations used for WordPress administration

How to Mitigate CVE-2021-47926

Immediate Actions Required

  • Update the Contact Form to Email plugin to a version newer than 1.3.24 that addresses the stored XSS issue
  • Audit existing forms in the plugin database and remove any entries with HTML or JavaScript content in the name field
  • Rotate WordPress administrator passwords and invalidate active sessions if exploitation is suspected
  • Restrict plugin form creation permissions to trusted administrator accounts only

Patch Information

Vendor patch details are available from the plugin maintainer at the Form2Email application site. Site operators should upgrade through the WordPress plugin manager and verify the installed version after upgrade. Refer to the VulnCheck WordPress XSS Advisory for additional remediation guidance.

Workarounds

  • Disable the Contact Form to Email plugin until a patched version is installed if immediate updates are not possible
  • Enforce a Content Security Policy header on the WordPress admin interface that blocks inline script execution
  • Restrict access to the WordPress administration interface using IP allow-listing at the web server or firewall layer
  • Require multi-factor authentication for all WordPress accounts with plugin management permissions
bash
# Content Security Policy example for WordPress admin
# Add to web server configuration to mitigate stored XSS execution
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechN/A

  • 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
  • Form2Email Application

  • Exploit-DB #50524

  • VulnCheck WordPress XSS Advisory
  • 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