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-2023-28782

CVE-2023-28782: Gravity Forms Deserialization Vulnerability

CVE-2023-28782 is a deserialization of untrusted data flaw in Gravity Forms by Rocketgenius Inc. that affects versions through 2.7.3. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 15, 2026

CVE-2023-28782 Overview

CVE-2023-28782 is a PHP Object Injection vulnerability in the Gravity Forms plugin for WordPress, developed by Rocketgenius Inc. The flaw is a Deserialization of Untrusted Data weakness [CWE-502] affecting Gravity Forms versions up to and including 2.7.3. An unauthenticated attacker can submit crafted serialized payloads over the network, triggering insecure deserialization within the plugin. Successful exploitation can lead to arbitrary code execution, data tampering, or full compromise of the underlying WordPress site.

Critical Impact

Unauthenticated PHP object injection enables remote code execution and full site compromise on vulnerable WordPress installations running Gravity Forms <= 2.7.3.

Affected Products

  • Rocketgenius Gravity Forms plugin for WordPress
  • Gravity Forms versions from n/a through 2.7.3
  • WordPress sites using Gravity Forms with publicly reachable form endpoints

Discovery Timeline

  • 2023-12-20 - CVE-2023-28782 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2023-28782

Vulnerability Analysis

The vulnerability is an Insecure Deserialization issue in Gravity Forms. The plugin passes attacker-controlled input into PHP's deserialization routines without validating the source or contents of the serialized data. When PHP deserializes the payload, magic methods such as __wakeup() or __destruct() execute on reconstructed objects. If a suitable gadget chain exists in the WordPress core, the active theme, or any installed plugin, the attacker can pivot deserialization into arbitrary code execution. The attack requires no authentication and no user interaction, and it can be delivered over the network against any reachable Gravity Forms endpoint.

Root Cause

The root cause is the use of unserialize() on untrusted input within the plugin's request handling logic. PHP's native deserialization mechanism reconstructs objects of arbitrary classes and invokes their magic methods, which makes it unsafe for processing data that may originate from clients. Gravity Forms <= 2.7.3 does not enforce allow-listed classes or use a safe serialization format such as JSON for affected code paths.

Attack Vector

An unauthenticated remote attacker submits a crafted request to a Gravity Forms endpoint that triggers deserialization of a serialized PHP object. The payload references a gadget chain present in the WordPress runtime. Once instantiated, the chain executes attacker-chosen operations such as writing files, executing system commands, or modifying database records. The attack surface includes any site that exposes Gravity Forms processing to anonymous visitors.

No verified public proof-of-concept code is available. See the Patchstack Vulnerability Advisory for advisory-level technical detail.

Detection Methods for CVE-2023-28782

Indicators of Compromise

  • HTTP POST requests to Gravity Forms endpoints containing serialized PHP markers such as O:, a:, or s: followed by class and property declarations.
  • Unexpected new PHP files in wp-content/uploads/, wp-content/plugins/, or theme directories following form submissions.
  • New or modified WordPress administrator accounts created without a corresponding admin login event.
  • Outbound network connections from the PHP-FPM or web server process to unfamiliar hosts shortly after form submissions.

Detection Strategies

  • Inspect web server access logs for request bodies or query strings containing serialized object signatures targeting Gravity Forms paths.
  • Compare the installed Gravity Forms version against 2.7.3; any version at or below this is vulnerable.
  • Use a web application firewall ruleset that flags PHP object injection patterns in request parameters.
  • Run file integrity monitoring on the WordPress directory to detect unexpected PHP file additions or modifications.

Monitoring Recommendations

  • Forward WordPress, PHP error, and web server logs to a centralized logging or SIEM platform for correlation.
  • Alert on web server processes spawning shell interpreters such as sh, bash, or cmd.exe.
  • Monitor for privilege changes within the wp_users and wp_usermeta tables.
  • Track plugin and theme file modification timestamps to surface tampering after exploitation attempts.

How to Mitigate CVE-2023-28782

Immediate Actions Required

  • Upgrade Gravity Forms to version 2.7.4 or later on every WordPress site where the plugin is installed.
  • Audit affected sites for indicators of compromise, including unexpected admin accounts, modified plugin files, and webshells in upload directories.
  • Rotate WordPress administrator passwords, API keys, and any secrets stored within the site database if compromise is suspected.
  • Place a web application firewall in front of WordPress to filter PHP object injection patterns until patching is complete.

Patch Information

Rocketgenius addressed the deserialization flaw in Gravity Forms versions after 2.7.3. Administrators must update the plugin through the WordPress dashboard or by deploying the vendor-supplied package. Refer to the Patchstack Vulnerability Advisory for the fixed version and advisory details.

Workarounds

  • Disable and remove the Gravity Forms plugin on sites that cannot be patched immediately.
  • Restrict access to Gravity Forms submission endpoints using IP allow-lists or authentication where the business workflow allows.
  • Deploy WAF rules that block requests containing PHP serialized object signatures such as O:<digits>:" in untrusted parameters.
  • Run PHP with the latest stable version and disable unused extensions to reduce the available gadget chain surface.
bash
# Example WAF/ModSecurity rule to block PHP object injection patterns
SecRule ARGS|REQUEST_BODY "@rx O:[0-9]+:\"[a-zA-Z_\\\\]+\":[0-9]+:" \
    "id:1002820,\
     phase:2,\
     deny,\
     status:403,\
     log,\
     msg:'Potential PHP Object Injection - CVE-2023-28782'"

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGravity Forms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • Patchstack Vulnerability Advisory
  • Related CVEs
  • CVE-2026-5109: Gravity Forms WordPress Plugin XSS Flaw

  • CVE-2026-5110: Gravity Forms WordPress Plugin XSS Flaw

  • CVE-2026-5111: Gravity Forms WordPress XSS Vulnerability

  • CVE-2026-5112: WordPress Gravity Forms XSS Vulnerability
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