{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-4631","published":"2025-05-31T07:15:21.263000Z","last_modified":"2026-06-17T09:33:38.917000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security@wordfence.com","primary":false},"auth":false,"cwes":["CWE-285"],"cpes":[],"cpes_truncated":false,"vendors":["unitybusinesstechnology"],"products":["unitybusinesstechnology/the-e-commerce-erp-purchasing-inventory-fulfillment-manufacturing-bom-accounting-sales-analysis"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2025-4631/","html_en":"/en/cve/CVE-2025-4631/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-4631","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-4631"},"untrusted":{"vendor_name":"unitybusinesstechnology","product_name":"The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis","desc_en":"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.","affected":[{"untrusted_vendor":"unitybusinesstechnology","untrusted_product":"The E-Commerce ERP: Purchasing, Inventory, Fulfillment, Manufacturing, BOM, Accounting, Sales Analysis","versions":[]}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2675","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2679","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L2698","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/profitori/tags/2.1.1.3/profitori.php#L3673","tags":[]},{"url":"https://wordpress.org/plugins/profitori/#developers","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c764811f-e9dc-4c3d-b696-5792e70ff0b6?source=cve","tags":[]}]}}