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

High 8.8 Published Updated

Authenticated vendors can escalate privileges and change arbitrary user passwords, including administrators, due to improper identity validation during staff password resets.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5931?

CVE-2025-5931 is a high-severity vulnerability in wedevs Dokan Pro, published on 26 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-269

Which versions are affected by CVE-2025-5931?

How do I fix CVE-2025-5931?

No fix has been published for CVE-2025-5931 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-5931 being exploited?

There is no known exploitation of CVE-2025-5931 in the wild and no public exploit code.

Sources

Also known as GHSA-mg63-9vwr-f2mv.

Is CVE-2025-5931 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free