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-2025-24690

CVE-2025-24690: Formality Plugin LFI Vulnerability

CVE-2025-24690 is a PHP local file inclusion vulnerability in the Formality plugin by Michele Giorgi that allows attackers to include malicious files. This article covers technical details, affected versions up to 1.5.7, and mitigation.

Published: May 4, 2026

CVE-2025-24690 Overview

CVE-2025-24690 is a Local File Inclusion (LFI) vulnerability in the Michele Giorgi Formality plugin for WordPress. The flaw stems from improper control of filenames passed to PHP include or require statements, classified under [CWE-98]. All versions of Formality up to and including 1.5.7 are affected. An unauthenticated remote attacker can leverage the vulnerability to include arbitrary local PHP files, leading to disclosure of sensitive configuration data, source code, or arbitrary code execution when combined with a writable file primitive.

Critical Impact

Unauthenticated attackers can include arbitrary local PHP files on the server, enabling sensitive information disclosure and potential remote code execution.

Affected Products

  • Michele Giorgi Formality WordPress plugin, versions up to and including 1.5.7
  • WordPress sites running the Formality plugin without the patched release
  • Hosting environments where Formality is active and exposed to untrusted HTTP traffic

Discovery Timeline

  • 2025-03-26 - CVE-2025-24690 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-24690

Vulnerability Analysis

The vulnerability is a PHP File Inclusion weakness ([CWE-98]) in the Formality WordPress plugin. The plugin passes attacker-influenced input into a PHP include or require construct without enforcing a strict allowlist or validating the resolved path. As a result, an attacker can manipulate the parameter to traverse the file system and load arbitrary .php files accessible to the web server user.

While the advisory categorizes the issue as Local File Inclusion, the underlying weakness is the PHP RFI/LFI class, which historically permits both local and remote inclusion depending on the allow_url_include setting in php.ini. On modern PHP installations remote inclusion is typically disabled, but local inclusion remains exploitable. EPSS data places this issue in the upper range of likely-exploited vulnerabilities for WordPress plugins.

Root Cause

The plugin accepts a user-controlled value, likely a template, view, or module name, and concatenates it into a path supplied to include/require. The code does not normalize the path, restrict it to a known directory, or reject traversal sequences such as ../. Any caller that reaches the vulnerable handler can therefore reference files outside the plugin directory.

Attack Vector

The attack is delivered over the network with no authentication and no user interaction, although exploitation requires meeting specific request conditions. An attacker issues an HTTP request to the vulnerable Formality endpoint with a manipulated filename parameter pointing to an existing local file. The targeted file is parsed by the PHP engine, which exposes its contents or executes embedded PHP. Common post-exploitation paths include reading wp-config.php for database credentials, harvesting secrets from log files, or chaining with a separate file upload primitive to achieve remote code execution.

Refer to the Patchstack WordPress Vulnerability Advisory for additional technical context.

Detection Methods for CVE-2025-24690

Indicators of Compromise

  • HTTP requests to Formality plugin endpoints containing path traversal sequences such as ../, ..%2f, or absolute paths like /etc/passwd or wp-config.php.
  • Web server access logs showing unusual query parameters referencing PHP files outside the wp-content/plugins/formality/ directory.
  • Unexpected outbound connections or new PHP files created in wp-content/uploads/ shortly after suspicious Formality requests.

Detection Strategies

  • Inspect WordPress and web server logs for requests to Formality handlers with file-like parameter values, particularly those containing .., null bytes (%00), or php:// wrappers.
  • Deploy WAF rules that block path traversal patterns and known PHP wrapper schemes against /wp-admin/admin-ajax.php and Formality REST routes.
  • Use file integrity monitoring on the WordPress installation to flag unauthorized changes to plugin and theme directories.

Monitoring Recommendations

  • Alert on PHP error log entries referencing include() or require() failures with attacker-controlled paths.
  • Correlate Formality plugin request anomalies with subsequent administrative logins or new user creation events.
  • Monitor egress traffic from the web server for unexpected connections that could indicate post-exploitation activity.

How to Mitigate CVE-2025-24690

Immediate Actions Required

  • Identify all WordPress sites running the Formality plugin and confirm the installed version is greater than 1.5.7.
  • Deactivate and remove the Formality plugin if a patched release is not yet available for your environment.
  • Rotate any credentials and API keys stored in wp-config.php if exploitation is suspected.
  • Review web server and WordPress logs for indicators of prior exploitation attempts.

Patch Information

Update the Formality plugin to a version released after 1.5.7 that addresses CVE-2025-24690. Consult the Patchstack WordPress Vulnerability Advisory for the fixed version and remediation guidance.

Workarounds

  • Disable the Formality plugin until an updated version can be installed and tested.
  • Restrict access to WordPress admin and AJAX endpoints by IP allowlist where feasible.
  • Set allow_url_include=Off and allow_url_fopen=Off in php.ini to prevent remote inclusion vectors.
  • Apply virtual patching through a Web Application Firewall to block traversal sequences targeting Formality routes.
bash
# Configuration example: harden PHP against file inclusion abuse
# /etc/php/8.x/fpm/php.ini
allow_url_include = Off
allow_url_fopen = Off
open_basedir = "/var/www/html:/tmp"
disable_functions = "exec,passthru,shell_exec,system,proc_open,popen"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechFormality

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-98
  • Technical References
  • Patchstack WordPress Vulnerability Advisory
  • Related CVEs
  • CVE-2025-48157: Formality Plugin LFI 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