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

CVE-2021-47941: WordPress Survey & Poll Plugin SQLi Flaw

CVE-2021-47941 is an SQL injection vulnerability in WordPress Survey & Poll Plugin 1.5.7.3 that allows unauthenticated attackers to extract sensitive database information. This article covers technical details, impact, and mitigation.

Published: May 18, 2026

CVE-2021-47941 Overview

CVE-2021-47941 is an unauthenticated SQL injection vulnerability in the WordPress Survey & Poll plugin version 1.5.7.3. Attackers inject malicious SQL payloads through the wp_sap cookie parameter to execute arbitrary queries against the WordPress database. Successful exploitation allows extraction of sensitive data including usernames, password hashes, and other confidential records stored in the backend database. The flaw is classified under [CWE-89] Improper Neutralization of Special Elements used in an SQL Command. No authentication or user interaction is required, making the issue exploitable remotely over the network.

Critical Impact

Unauthenticated remote attackers can extract WordPress credentials and arbitrary database contents by injecting SQL into the wp_sap cookie.

Affected Products

  • WordPress Plugin Survey & Poll 1.5.7.3
  • Pantherius Modal Survey plugin (Survey & Poll component)
  • WordPress installations with the vulnerable plugin enabled

Discovery Timeline

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

Technical Details for CVE-2021-47941

Vulnerability Analysis

The Survey & Poll plugin reads the wp_sap cookie value and incorporates it directly into a backend SQL statement without sanitization or parameterization. Because the input flows from an attacker-controlled HTTP cookie header into the query string, an unauthenticated client can append arbitrary SQL clauses. The vulnerability falls under [CWE-89] and affects the plugin's survey state handling logic.

An attacker can send a single crafted HTTP request to any page rendering the plugin to trigger the injection. Standard UNION SELECT techniques retrieve rows from wp_users, exposing the user_login and user_pass columns. Blind and time-based variants also work because the cookie value is processed before authentication checks.

EPSS data places exploitation probability at 0.086% with a percentile of 24.613, but a public exploit exists at Exploit-DB entry 50269, which increases practical risk for exposed installations.

Root Cause

The root cause is unsanitized concatenation of the wp_sap cookie value into an SQL query. The plugin neither validates the cookie format nor uses prepared statements via $wpdb->prepare(), allowing operator injection.

Attack Vector

The attack vector is network-based and pre-authentication. An attacker issues an HTTP request to a WordPress page hosting the Survey & Poll plugin, supplying a malicious Cookie: wp_sap=... header containing SQL syntax. The server executes the injected SQL with database privileges held by the WordPress user. Refer to the VulnCheck WordPress Advisory and Exploit-DB #50269 for documented payload structures.

Detection Methods for CVE-2021-47941

Indicators of Compromise

  • HTTP requests containing SQL keywords such as UNION, SELECT, SLEEP, or INFORMATION_SCHEMA inside the wp_sap cookie value.
  • Unusual database query latency or errors logged by MySQL or MariaDB tied to plugin requests.
  • Outbound exfiltration of wp_users table contents or unexpected reads of password hashes.

Detection Strategies

  • Inspect web server access logs for Cookie: headers containing SQL metacharacters such as single quotes, comments (--, #), or stacked statements.
  • Enable MySQL general or slow query logging and alert on queries referencing wp_users originating from plugin code paths.
  • Deploy WAF rules that decode and inspect cookie values for SQL injection signatures, not only URL parameters.

Monitoring Recommendations

  • Monitor for repeated 200-status requests to plugin endpoints from a single IP with varying cookie payloads.
  • Track creation of new administrator accounts or password resets following suspicious requests.
  • Alert on database response sizes that deviate from baseline page rendering.

How to Mitigate CVE-2021-47941

Immediate Actions Required

  • Disable and remove the Survey & Poll plugin version 1.5.7.3 until a vendor-patched release is confirmed available.
  • Rotate all WordPress administrator credentials and force password resets for site users.
  • Audit the wp_users and wp_options tables for unauthorized modifications or injected administrator accounts.

Patch Information

No vendor patch URL is listed in the NVD record. Site operators should consult the Pantherius Survey Tool vendor site for updated releases and review the VulnCheck WordPress Advisory for remediation guidance.

Workarounds

  • Block requests containing SQL syntax inside the wp_sap cookie at the WAF or reverse proxy layer.
  • Restrict access to pages embedding the Survey & Poll plugin to authenticated users via WordPress access controls.
  • Apply database least-privilege by ensuring the WordPress MySQL account cannot read tables outside its required scope.
bash
# Example ModSecurity rule to block SQLi in the wp_sap cookie
SecRule REQUEST_COOKIES:wp_sap "@rx (?i)(union(\s|/\*.*\*/)+select|sleep\s*\(|information_schema|--|;)" \
    "id:1004721,phase:1,deny,status:403,log,msg:'CVE-2021-47941 Survey & Poll SQLi attempt in wp_sap cookie'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • Pantherius Survey Tool

  • Exploit-DB #50269

  • VulnCheck WordPress Advisory
  • Related CVEs
  • CVE-2026-6225: WordPress Taskbuilder Plugin SQLi Flaw

  • CVE-2026-4608: ProfileGrid WordPress Plugin SQLi Flaw

  • CVE-2026-4798: Avada Builder Plugin SQLi Vulnerability

  • CVE-2026-7619: WordPress Charitable Plugin SQLi 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