Skip to content
Threat Feed
critical threat exploited

Unauthenticated Privilege Escalation in Profitori WordPress Plugin

The Profitori plugin for WordPress, versions 2.0.6.0 through 2.1.1.3, contains a critical vulnerability (CVE-2025-4631) that allows unauthenticated remote attackers to escalate user privileges to Administrator via the REST API.

CVE search metadata

CVE search record: CVE-2025-4631. Severity: critical. CVSS: 9.8. EPSS: 0.73%. KEV: no. Product: Profitori (2.0.6.0-2.1.1.3). Brief: Unauthenticated Privilege Escalation in Profitori WordPress Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-10-profitori-privilege-escalation/

Profitori, a WordPress plugin, contains an unauthenticated privilege escalation vulnerability (CVE-2025-4631) affecting versions 2.0.6.0 through 2.1.1.3. The flaw resides in the /wp-json/stocktend/v1/stocktend_object REST API endpoint, which fails to perform proper authorization checks. Attackers can interact with this endpoint to directly manipulate the wp_capabilities meta field for any existing user ID on the site. By injecting the administrator capability into this field, an unauthorized actor can grant themselves or an existing account full administrative control. A public exploit script has been released, significantly increasing the risk of active exploitation. Organizations using the Profitori plugin are advised to verify their current version immediately.

Attack Chain

  1. Attacker performs reconnaissance to identify WordPress sites running the vulnerable Profitori plugin.
  2. Attacker confirms the version by accessing the publicly available /wp-content/plugins/profitori/readme.txt file.
  3. Attacker identifies a target user ID to compromise via public post author pages or administrative enumeration.
  4. Attacker constructs a malicious POST request targeting the REST API endpoint /wp-json/stocktend/v1/stocktend_object.
  5. The request body includes an updated wp_capabilities parameter set to grant administrative rights (e.g., a:1:{s:13:"administrator";b:1;}).
  6. The vulnerable API endpoint processes the request without validating the attacker's session or permissions.
  7. The target user's meta information is updated in the WordPress database, elevating their role to Administrator.
  8. The attacker authenticates as the now-elevated user to gain full control over the WordPress instance.

Impact

Successful exploitation grants an unauthenticated attacker full administrative access to the WordPress environment. This level of access typically results in complete system compromise, allowing the attacker to install arbitrary plugins, upload web shells, exfiltrate database contents, and perform further lateral movement within the hosting infrastructure.

Recommendation

  • Immediately audit all WordPress installations to identify if the Profitori plugin is active and running a version below 2.1.1.3.
  • If identified, disable or remove the Profitori plugin until a vendor-supplied patch is installed.
  • Monitor web server logs for suspicious POST requests targeting the /wp-json/stocktend/v1/stocktend_object path.
  • Deploy the included detection rule to monitor for unauthorized API interactions with the plugin's endpoints.

Immediate actions

Audit WordPress assets for the presence of the Profitori plugin.

IT Operations 24h

Mitigations

Disable or remove the Profitori plugin on all WordPress installations.

immediate IT Operations

CVE-2025-4631

Detection coverage 1

Detect CVE-2025-4631 Exploitation Attempt

critical

Detects unauthorized attempts to access the vulnerable stocktend_object REST API endpoint.

sigma tactics: privilege_escalation techniques: T1068 sources: webserver

Detection queries are available on the platform. Get full rules →