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

Source: https://junglewise.ai/threats/cve-2025-6254-doctreat-core-privilege-escalation-in-doctreat-process  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-10. Updated: 2026-06-10  
License: CC BY 4.0 with a link back

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

- [https://themeforest.net/item/doctreat-doctors-directory-wordpress-theme/24867777](https://themeforest.net/item/doctreat-doctors-directory-wordpress-theme/24867777)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/5fa37909-932c-4879-bbf0-8b44cc995cc0?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/5fa37909-932c-4879-bbf0-8b44cc995cc0?source=cve)

## Related threats

- [WordPress Doctreat Core privilege escalation](https://junglewise.ai/threats/cve-2026-39773-unauthenticated-privilege-escalation-in-doctreat-core-1-7-0)
