Doctreat <= 1.6.7 - Authenticated (Subscriber+) Arbitrary Shortcode Execution

Improper Control of Generation of Code ('Code Injection')
CVE CVE-2025-58970
CVSS Medium (6.5)
Publicly Published August 2, 2025
Last Updated November 4, 2025
Researcher Tran Nguyen Bao Khanh
Description

The The Doctreat - Hospitals and Doctors Directory WordPress Listing Theme theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.6.7. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes.

References

1 affected software package

Software Type Theme
Software Slug doctreat (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.6.7
Patched Version
  • 1.6.8
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.