A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-47959

CVE-2021-47959: WPGraphQL Plugin DoS Vulnerability

CVE-2021-47959 is a denial of service vulnerability in WordPress WPGraphQL plugin 1.3.5 that lets attackers exhaust server resources via batched GraphQL queries. This article covers technical details, affected versions, and mitigations.

Published: May 21, 2026

CVE-2021-47959 Overview

CVE-2021-47959 is a denial of service vulnerability in the WordPress WPGraphQL plugin version 1.3.5. The flaw allows unauthenticated remote attackers to exhaust server resources through batched GraphQL queries containing duplicated fields. By submitting POST requests to the GraphQL endpoint with amplified field duplication payloads, attackers can trigger out-of-memory conditions on the host and exhaust MySQL connections. The vulnerability is classified under [CWE-770] Allocation of Resources Without Limits or Throttling. No authentication, user interaction, or special access is required for exploitation.

Critical Impact

Unauthenticated attackers can trigger server-wide denial of service by sending a single batched GraphQL request containing duplicated fields, exhausting memory and MySQL connections.

Affected Products

  • WordPress Plugin WPGraphQL version 1.3.5
  • WordPress instances exposing the /graphql endpoint via WPGraphQL
  • Backend MySQL databases serving WPGraphQL-enabled WordPress installations

Discovery Timeline

  • 2026-05-15 - CVE-2021-47959 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2021-47959

Vulnerability Analysis

The vulnerability resides in how WPGraphQL 1.3.5 parses and executes GraphQL queries received at the /graphql endpoint. GraphQL allows clients to specify multiple fields and batch multiple operations in a single request. WPGraphQL does not enforce limits on query complexity, query depth, or duplicated field selections. An attacker can craft a single POST request containing thousands of duplicated field selections within a batched query.

When the plugin processes such a request, each duplicated field triggers separate resolver execution and database lookups. This causes the PHP worker to allocate large amounts of memory and open a high number of MySQL connections. The result is PHP out-of-memory termination and MySQL Too many connections errors that affect the entire WordPress site, not just the GraphQL endpoint.

Root Cause

The root cause is missing input validation on query structure. WPGraphQL does not cap the number of fields, the depth of nested selections, or the size of batched operations. No rate limiting or cost analysis is applied before resolver execution begins. This matches the [CWE-770] pattern of allocating resources without throttling.

Attack Vector

The attack is delivered over the network with no privileges or user interaction. An attacker sends an HTTP POST request to /graphql containing a JSON body with a query that duplicates the same field selection thousands of times, optionally wrapped in a batched array of operations. The server begins resolving each field, opens database handles, and runs out of memory or connection slots before the request completes. Repeated requests keep the site unavailable. Public proof-of-concept code is documented in Exploit-DB #49807 and the VulnCheck Advisory.

No verified exploit code is included here. Refer to the linked advisories for technical proof-of-concept details.

Detection Methods for CVE-2021-47959

Indicators of Compromise

  • HTTP POST requests to /graphql with unusually large request bodies, often exceeding several hundred kilobytes.
  • PHP error logs showing Allowed memory size exhausted entries tied to WPGraphQL resolver call stacks.
  • MySQL error logs reporting Too many connections or connection refusals during GraphQL traffic spikes.
  • Sudden web server 5xx responses correlated with traffic to the /graphql endpoint.

Detection Strategies

  • Inspect access logs for repeated POST requests to /graphql from the same source IP within short time windows.
  • Parse incoming GraphQL request bodies and flag payloads containing more than a configurable threshold of duplicated field names.
  • Correlate PHP-FPM worker terminations with concurrent GraphQL traffic to identify resource exhaustion attempts.
  • Monitor MySQL max_connections saturation events and trace originating queries back to WPGraphQL resolvers.

Monitoring Recommendations

  • Enable verbose access logging on the WordPress front end with request body size capture for the /graphql route.
  • Alert on PHP memory exhaustion errors and MySQL connection saturation in real time through centralized log aggregation.
  • Track baseline GraphQL request rates and trigger anomaly alerts when request volume or payload size exceeds normal patterns.

How to Mitigate CVE-2021-47959

Immediate Actions Required

  • Upgrade the WPGraphQL plugin to a version later than 1.3.5 that enforces query complexity and depth limits.
  • Restrict access to the /graphql endpoint at the web server or WAF layer if the GraphQL API is not required for public use.
  • Apply rate limiting on the /graphql route to cap requests per source IP per minute.
  • Increase MySQL max_connections and PHP memory_limit only as a short-term cushion, not as a fix.

Patch Information

Update WPGraphQL to the latest available release from the WPGraphQL Official Site or through the WordPress plugin manager. Refer to the VulnCheck Advisory for vendor remediation guidance and the fixed version range.

Workarounds

  • Place the GraphQL endpoint behind authentication using a reverse proxy or WordPress access control plugin.
  • Deploy a WAF rule that rejects POST requests to /graphql whose body exceeds a defined size threshold or contains excessive field repetition.
  • Disable WPGraphQL entirely on sites that do not require GraphQL functionality.
bash
# Example nginx rule to limit /graphql request size and rate
location /graphql {
    client_max_body_size 64k;
    limit_req zone=graphql_zone burst=5 nodelay;
    proxy_pass http://wordpress_backend;
}

# Define the rate limit zone in the http block:
# limit_req_zone $binary_remote_addr zone=graphql_zone:10m rate=10r/m;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechWordpress

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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-770
  • Technical References
  • Exploit-DB #49807

  • VulnCheck Advisory

  • WPGraphQL Official Site
  • Related CVEs
  • CVE-2026-7635: coreActivity WordPress Plugin DoS Vulnerability

  • CVE-2026-40308: My Calendar WordPress Plugin DoS Vulnerability

  • CVE-2026-8689: WordPress Visualizer Auth Bypass Vulnerability

  • CVE-2026-7526: PDF Embedder Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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