CVE-2025-6254: Doctreat Core privilege escalation in doctreat_process_registration

CVE-2025-6254 · Severity: critical · CVSS 9.8 · Published 2026-06-10

The Doctreat Core plugin for WordPress, which provides directory and booking functionality for medical professionals, contains a critical security flaw. This vulnerability allows any person on the internet to register a new account with full administrative privileges. An attacker could use this access to take complete control of the website, steal sensitive patient or customer data, and disrupt medical directory services.

Quick answers

Is CVE-2025-6254 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-6254 being exploited in the wild.
How severe is CVE-2025-6254?
Critical severity, with a CVSS score of 9.8, published 10 June 2026.
Which products and versions are affected?
Doctreat Core Up to and including 1.6.8.
Is there a fix for CVE-2025-6254?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-6254 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-6254?
Check whether you run Doctreat Core at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The Doctreat Core plugin for WordPress is vulnerable to privilege escalation due to a lack of role validation in the doctreat_process_registration() function. This function fails to restrict the user roles that can be assigned during the registration process. An unauthenticated remote attacker can exploit this by submitting a registration request that specifies a high-privileged role, such as 'administrator'. This allows for complete site takeover. The vulnerability affects all versions of the plugin up to and including 1.6.8.

Affected products

  • Doctreat Doctreat Core Up to and including 1.6.8

Timeline

  • 2026-06-10: disclosed
  • 2026-06-10: advisory: NVD and Wordfence published the advisory.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.