CVE-2025-4631
Severity CVSS v4.0:
Pending analysis
Type:
CWE-285
Improper Authorization
Publication date:
31/05/2025
Last modified:
15/04/2026
Description
The Profitori plugin for WordPress is vulnerable to Privilege Escalation due to a missing capability check on the stocktend_object endpoint in versions 2.0.6.0 to 2.1.1.3. This makes it possible to trigger the save_object_as_user() function for objects whose '_datatype' is set to 'users',. This allows unauthenticated attackers to write arbitrary strings straight into the user’s wp_capabilities meta field, potentially elevating the privileges of an existing user account or a newly created one to that of an administrator.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
References to Advisories, Solutions, and Tools
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2675
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2679
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2698
- https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L3673
- https://wordpress.org/plugins/profitori/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c764811f-e9dc-4c3d-b696-5792e70ff0b6?source=cve



