CVE-2025-5931

Dokan Pro <= 4.0.5 - Authenticated (Vendor+) Privilege Escalation

Published Aug 26, 2025 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
The Dokan Pro plugin for WordPress is vulnerable to privilege escalation via account takeover in all versions up to, and including, 4.0.5. This is due to the plugin not properly validating a user's identity prior to updating their password during a staff password reset. This makes it possible for authenticated attackers, with vendor-level access and above, to elevate their privilege to the level of a staff member and then change arbitrary user passwords, including those of administrators in order to gain access to their accounts. By default, the plugin allows customers to become vendors.

Analysis

AI-generated

Technical impact

The Dokan Pro plugin for WordPress contains a flaw that allows an authenticated user with vendor-level or higher access to take over the account of any user, including site administrators. The vulnerability arises from the plugin failing to validate the identity of the user when processing a staff password reset, enabling unauthorized privilege escalation. This flaw is classified under CWE‑269 (Missing Authentication).

Affected Systems

The affected product is the Dokan Pro plugin from wedevs, used within WordPress sites. Versions up to and including 4.0.5 are vulnerable. Administrators with vendor or higher roles can exploit the flaw, and by default the plugin permits customers to become vendors, potentially expanding the attack surface.

Risk and Exploitability

The severity score is CVSS 8.8, indicating high risk. The EPSS score is under 1%, so the likelihood of widespread exploitation is low at present, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, any authenticated attacker who has vendor or higher privileges can elevate their rights to staff level and reset the passwords of administrator accounts, potentially compromising the entire WordPress installation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokan Pro to a version newer than 4.0.5.
  • Limit staff password reset functionality to administrators only and remove vendor and customer roles from password reset permissions.
  • Enable two‑factor authentication for all administrator accounts to reduce the risk of credential theft.

Generated by OpenCVE AI on April 20, 2026 at 21:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-25808 The Dokan Pro plugin for WordPress is vulnerable to privilege escalation via account takeover in all versions up to, and including, 4.0.5. This is due to the plugin not properly validating a user's identity prior to updating their password during a staff password reset. This makes it possible for authenticated attackers, with vendor-level access and above, to elevate their privilege to the level of a staff member and then change arbitrary user passwords, including those of administrators in order to gain access to their accounts. By default, the plugin allows customers to become vendors.
History
Type Values Removed Values Added
First Time appeared Wedevs
Wedevs dokan
Wordpress
Wordpress wordpress
Vendors & Products Wedevs
Wedevs dokan
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Dokan Pro plugin for WordPress is vulnerable to privilege escalation via account takeover in all versions up to, and including, 4.0.5. This is due to the plugin not properly validating a user's identity prior to updating their password during a staff password reset. This makes it possible for authenticated attackers, with vendor-level access and above, to elevate their privilege to the level of a staff member and then change arbitrary user passwords, including those of administrators in order to gain access to their accounts. By default, the plugin allows customers to become vendors.
Title Dokan Pro <= 4.0.5 - Authenticated (Vendor+) Privilege Escalation
Weaknesses CWE-269
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:32 PM
Reserved
Jun 9, 2025, 2:52 PM
Status
Deferred
Published
Aug 26, 2025, 5:15 AM
Modified
Jun 17, 2026, 9:49 AM