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-2024-38724

CVE-2024-38724: Contact Form 7 Summary CSRF/XSS Flaw

CVE-2024-38724 is a CSRF and stored XSS vulnerability in Contact Form 7 Summary and Print plugin that allows attackers to execute malicious scripts. This article covers technical details, affected versions through 1.2.5, and steps to secure your WordPress site.

Published: June 2, 2026

CVE-2024-38724 Overview

CVE-2024-38724 is a stored Cross-Site Scripting (XSS) vulnerability chained with Cross-Site Request Forgery (CSRF) in the Contact Form 7 Summary and Print plugin for WordPress. The plugin, developed by Muhammad Rehman, is affected in all versions up to and including 1.2.5. An attacker can trick an authenticated administrator into submitting a forged request that injects persistent JavaScript into the plugin's stored data. The injected payload executes in the browser of any user who later views the affected page, enabling session hijacking, administrative action abuse, and further compromise of the WordPress site.

Critical Impact

Successful exploitation results in stored JavaScript execution in administrator browsers, with potential for account takeover and lateral movement within the WordPress instance.

Affected Products

  • Muhammad Rehman Contact Form 7 Summary and Print plugin for WordPress
  • All versions from n/a through 1.2.5
  • WordPress sites running the vulnerable plugin with authenticated administrators

Discovery Timeline

  • 2024-08-13 - CVE-2024-38724 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2024-38724

Vulnerability Analysis

The vulnerability combines two distinct weaknesses to achieve stored script execution. The plugin's administrative endpoints lack anti-CSRF token validation, allowing external sites to forge state-changing requests on behalf of authenticated administrators. The same endpoints fail to sanitize or encode user-supplied input before persisting it to the database and rendering it back into HTML pages. This pairing is classified under [CWE-79] for Improper Neutralization of Input During Web Page Generation.

An attacker hosts a malicious page containing a crafted form or fetch request targeting the plugin's settings or data submission endpoint. When a logged-in WordPress administrator visits the attacker-controlled page, the browser automatically attaches authentication cookies to the forged request. The plugin processes the request and stores the attacker's JavaScript payload. Any subsequent page rendering this data executes the script in the victim's browser context.

Root Cause

The root cause is the absence of two complementary controls: WordPress nonce verification (wp_verify_nonce) on form submission handlers and output encoding (esc_html, esc_attr) when rendering stored content. Either control alone would mitigate the chain, but the plugin omits both.

Attack Vector

Exploitation requires network access to the WordPress site and user interaction from a privileged user. The attacker must lure an authenticated administrator to a malicious URL or page during an active session. The scope is changed because injected scripts execute in a security context different from the plugin's own.

The vulnerability manifests in the plugin's settings and data persistence handlers. See the Patchstack Vulnerability Report for additional technical context.

Detection Methods for CVE-2024-38724

Indicators of Compromise

  • Unexpected <script>, onerror, or onload attributes within plugin-managed records stored in the wp_options or plugin-specific database tables
  • WordPress administrator sessions originating from unusual referrers immediately before configuration changes
  • New or modified administrator accounts created without corresponding audit log entries from known admins
  • Outbound requests from administrator browsers to unfamiliar domains after visiting the WordPress admin panel

Detection Strategies

  • Review plugin-related database entries for HTML or JavaScript content that should be plain text
  • Monitor web server access logs for POST requests to plugin endpoints lacking a same-origin Referer header
  • Inspect rendered admin pages for unexpected inline scripts using Content Security Policy (CSP) violation reports

Monitoring Recommendations

  • Enable WordPress audit logging to capture plugin configuration changes and the originating user and IP
  • Forward web server and WordPress logs to a centralized analytics platform for correlation across sessions
  • Alert on anomalous administrator behavior such as configuration edits immediately following external page visits

How to Mitigate CVE-2024-38724

Immediate Actions Required

  • Update the Contact Form 7 Summary and Print plugin to a version later than 1.2.5 once the vendor releases a patched build
  • Deactivate and remove the plugin if a fixed version is not yet available and the functionality is non-essential
  • Force-reset administrator passwords and invalidate active WordPress sessions if exploitation is suspected
  • Audit existing plugin records for stored HTML or JavaScript content and remove malicious entries

Patch Information

The Patchstack advisory tracks the vulnerable version range through 1.2.5. Administrators should consult the Patchstack Vulnerability Report and the WordPress plugin repository for the latest fixed release.

Workarounds

  • Restrict access to /wp-admin/ by IP allowlist to reduce CSRF exposure from external networks
  • Deploy a Web Application Firewall (WAF) rule that blocks requests to plugin endpoints missing valid WordPress nonces
  • Enforce a strict Content Security Policy that disallows inline scripts on administrative pages
  • Require administrators to log out of WordPress before browsing untrusted sites and use separate browser profiles for admin work
bash
# Example WAF rule (ModSecurity) blocking plugin POST requests without a same-site Referer
SecRule REQUEST_METHOD "@streq POST" \
  "chain,id:1003824,phase:1,deny,status:403,msg:'CVE-2024-38724 CSRF protection'"
  SecRule REQUEST_URI "@contains /wp-admin/admin.php" \
    "chain"
    SecRule ARGS:page "@contains cf7-summary" \
      "chain"
      SecRule &REQUEST_HEADERS:Referer "@eq 0"

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechContact Form 7

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.19%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack Vulnerability Report
  • Related CVEs
  • CVE-2026-6709: WordPress Coinbase Commerce Auth Bypass

  • CVE-2026-25863: Contact Form 7 WordPress Plugin DoS Flaw

  • CVE-2026-5364: WordPress Drag and Drop File Upload RCE

  • CVE-2025-48345: Contact Form 7 Editor Button XSS 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