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
    • 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-4631

CVE-2025-4631: Profitori Plugin Privilege Escalation Flaw

CVE-2025-4631 is a privilege escalation vulnerability in the Profitori WordPress plugin that allows unauthenticated attackers to elevate user privileges to administrator. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2025-4631 Overview

The Profitori plugin for WordPress contains a critical Privilege Escalation vulnerability resulting from a missing capability check on the stocktend_object endpoint. This security flaw affects versions 2.0.6.0 through 2.1.1.3 of the plugin and allows unauthenticated attackers to trigger the save_object_as_user() function when processing objects with a _datatype set to users. By exploiting this weakness, attackers can write arbitrary strings directly into a user's wp_capabilities meta field, enabling them to elevate privileges of existing user accounts or newly created accounts to administrator level.

Critical Impact

Unauthenticated attackers can gain complete administrative control of WordPress sites by manipulating user capability meta fields, leading to full site compromise.

Affected Products

  • Profitori WordPress Plugin versions 2.0.6.0 to 2.1.1.3
  • WordPress installations running vulnerable Profitori plugin versions

Discovery Timeline

  • 2025-05-31 - CVE-2025-4631 published to NVD
  • 2025-06-02 - Last updated in NVD database

Technical Details for CVE-2025-4631

Vulnerability Analysis

This vulnerability is classified under CWE-285 (Improper Authorization) and represents a severe authorization bypass in the Profitori WordPress plugin. The core issue stems from the plugin's failure to implement proper capability checks before allowing sensitive operations on the stocktend_object REST API endpoint.

The vulnerable code path allows unauthenticated requests to reach the save_object_as_user() function, which is designed to handle user object creation and modification. When an attacker crafts a malicious request with _datatype set to users, the function processes the request without verifying whether the requester has appropriate privileges to modify user data.

The attack can be executed remotely over the network without any authentication requirements or user interaction, making it trivially exploitable. Successful exploitation results in complete compromise of confidentiality, integrity, and availability of the affected WordPress installation.

Root Cause

The root cause of CVE-2025-4631 is the absence of authorization checks on the stocktend_object REST endpoint in the Profitori plugin. WordPress plugins should implement capability checks using functions like current_user_can() before performing privileged operations. The Profitori plugin fails to validate that the requesting user has the necessary capabilities to modify user metadata, specifically the wp_capabilities field that controls WordPress user roles.

The vulnerable code path in profitori.php processes incoming requests and routes them to save_object_as_user() based on the _datatype parameter without first establishing whether the requester is authorized to perform such actions. This architectural flaw allows any remote attacker to invoke privileged functionality.

Attack Vector

The attack exploits the unprotected stocktend_object endpoint through the WordPress REST API. An attacker can send a crafted HTTP request to the vulnerable endpoint with a payload specifying _datatype as users and including arbitrary capability values.

The attack flow involves:

  1. Identifying a WordPress site running a vulnerable version of Profitori (2.0.6.0 - 2.1.1.3)
  2. Sending an unauthenticated POST request to the stocktend_object endpoint
  3. Including a payload that sets _datatype to users and specifies administrator capabilities
  4. The plugin processes the request and writes the attacker-controlled capability values to the target user's wp_capabilities meta field
  5. The targeted account (existing or newly created) is elevated to administrator privileges

For detailed technical analysis, see the Wordfence Vulnerability Report and the vulnerable code in profitori.php.

Detection Methods for CVE-2025-4631

Indicators of Compromise

  • Unexpected user accounts with administrator privileges appearing in the WordPress user database
  • Anomalous REST API requests to Profitori plugin endpoints, particularly stocktend_object
  • Modifications to wp_capabilities user meta field entries without corresponding administrative actions
  • Suspicious POST requests containing _datatype set to users in request payloads

Detection Strategies

  • Implement web application firewall (WAF) rules to inspect and filter requests to Profitori plugin endpoints
  • Monitor WordPress REST API access logs for unauthenticated requests targeting plugin-specific endpoints
  • Deploy file integrity monitoring to detect unauthorized changes to WordPress user tables
  • Configure SIEM alerts for privilege escalation patterns, including new administrator account creation

Monitoring Recommendations

  • Enable comprehensive logging for all WordPress REST API interactions
  • Implement real-time alerting on user capability modifications
  • Regularly audit user accounts and their assigned privileges for anomalies
  • Monitor database queries affecting the wp_usermeta table, particularly those modifying capability fields

How to Mitigate CVE-2025-4631

Immediate Actions Required

  • Update the Profitori plugin to a patched version beyond 2.1.1.3 immediately
  • Audit all existing WordPress user accounts for unauthorized privilege escalations
  • Review access logs for evidence of exploitation attempts against the stocktend_object endpoint
  • Consider temporarily deactivating the Profitori plugin until a patch is applied if an update is not immediately available

Patch Information

Organizations running affected versions of the Profitori plugin (2.0.6.0 through 2.1.1.3) should update to the latest available version that addresses this vulnerability. Check the Profitori plugin developer page for the most recent release information and patch availability.

Workarounds

  • Temporarily disable the Profitori plugin until an official patch is applied
  • Implement WAF rules to block unauthenticated POST requests to Profitori REST API endpoints
  • Restrict access to the WordPress REST API at the web server level for untrusted networks
  • Enable WordPress application-level logging and monitoring to detect exploitation attempts
bash
# Example: Block access to Profitori REST API endpoints via .htaccess
# Add to WordPress root .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-json/.*stocktend.* [NC]
RewriteCond %{REQUEST_METHOD} POST
RewriteRule ^ - [F,L]
</IfModule>

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.51%

  • 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-285
  • Technical References
  • WordPress Plugin Code Snippet

  • WordPress Plugin Code Snippet

  • WordPress Plugin Code Snippet

  • WordPress Plugin Code Snippet

  • WordPress Plugin Developer Info

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-3568: MStore API Privilege Escalation Vulnerability

  • CVE-2026-4003: WordPress Users Manager PN Privilege Escalation

  • CVE-2024-12402: WordPress Themes Coder Plugin Vulnerability

  • CVE-2026-5130: WordPress Debugger Plugin Escalation Flaw
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