# CVE-2026-12729: weDevs weDocs missing authorization in do_migration function

Source: https://junglewise.ai/threats/cve-2026-12729-wedevs-wedocs-missing-authorization-in-do-migration-function  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-03. Updated: 2026-07-03  
License: CC BY 4.0 with a link back

CVE-2026-12729 · Severity: medium · CVSS 4.3 · Published 2026-07-03

The weDocs plugin for WordPress, which provides knowledge base and documentation features, contains a security flaw that allows low-level users to trigger administrative migration tasks. An attacker with a basic account could use this to modify documentation entries, change site settings, or disable other documentation plugins. This could lead to unauthorized content changes and disruption of the site's documentation services.

Technologies: [weDevs weDocs](https://junglewise.ai/threats/technologies/wedocs). Vendors: [weDevs](https://junglewise.ai/threats/vendors/wedevs).

## Quick answers

**Is CVE-2026-12729 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-12729 being exploited in the wild.

**How severe is CVE-2026-12729?** Medium severity, with a CVSS score of 4.3, published 3 July 2026.

**Which products and versions are affected?** weDevs weDocs up to and including 2.3.0.

**Is there a fix for CVE-2026-12729?** 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-2026-12729 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-12729?** Check whether you run weDevs weDocs 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 weDocs plugin for WordPress is vulnerable to Missing Authorization in versions up to and including 2.3.0. This is due to a missing capability check on the do_migration() function registered as the wedocs_migrate_betterdocs_to_wedocs AJAX action. The function fails to perform nonce verification via check_ajax_referer() and lacks a capability check via current_user_can() before executing sensitive operations. Authenticated attackers with Subscriber-level access or higher can exploit this to trigger a full BetterDocs-to-weDocs migration, create or modify 'docs' custom post types with controlled titles, update site options, and deactivate the BetterDocs and BetterDocs Pro plugins.

## Affected products

- weDevs weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot up to and including 2.3.0

## Timeline

- 2026-07-03: disclosed: NVD publication date

## References

- [https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.php](https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.php)
- [https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.php](https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.php)
- [https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.php](https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Admin/Migrate.php)
- [https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Ajax.php](https://plugins.trac.wordpress.org/browser/wedocs/tags/2.3.0/includes/Ajax.php)
- [https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3589430%40wedocs&new=3589430%40wedocs&sfp_email=&sfph_mail=](https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3589430%40wedocs&new=3589430%40wedocs&sfp_email=&sfph_mail=)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/228d63a5-5053-4692-9801-4860325da153?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/228d63a5-5053-4692-9801-4860325da153?source=cve)

## Related threats

- [weDevs weDocs broken access control in page visibility](https://junglewise.ai/threats/cve-2026-121760-missing-authorization-vulnerability-in-wedevs-wedocs-wedocs)
- [weDevs weDocs broken access control vulnerability](https://junglewise.ai/threats/cve-2026-121767-missing-authorization-vulnerability-in-wedevs-wedocs-wedocs)
- [weDevs weDocs Stored XSS in connectorWidth Block Attribute](https://junglewise.ai/threats/cve-2026-12734-wedevs-wedocs-stored-xss-in-connectorwidth-block-attribute)
- [weDevs weDocs Stored XSS in Sidebar Block Attributes](https://junglewise.ai/threats/cve-2026-12731-wedevs-wedocs-stored-xss-in-sidebar-block-attributes)
- [weDevs weDocs missing authorization in access control levels](https://junglewise.ai/threats/cve-2026-39520-wedevs-wedocs-missing-authorization-in-access-control-levels)
