weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.6.1 - Authenticated (Editor+) Missing Authorization to Arbitrary Post Deletion and Modification
- ID
- WPSEC-2026-2540
- Plugin
- weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot (wedocs)
- Affected
- from 2.1.0 before 2.6.2
- Remediation
- Update to 2.6.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
- Weakness
- CWE-862
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-05
- Attack surface
- weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot on WPSec AttackSurface
- Fix released
- Published
Description
The weDocs plugin for WordPress is vulnerable to unauthorized modification and loss of data in all versions up to, and including, 2.6.1. This is because the docs REST routes for deleting docs, sorting docs and changing doc status check only the general 'edit_docs' capability, with no per-post capability check and no post type check, and accept any status value. This makes it possible for authenticated attackers with editor-level access and above to trash posts of any post type, permanently delete every child post (including attachments) of a targeted post, convert arbitrary posts to the docs post type, and change the status of arbitrary posts.
References
- https://wpsec.com/vuln/WPSEC-2026-2540/
- https://plugins.svn.wordpress.org/wedocs/tags/2.6.2/
- https://wordpress.org/plugins/wedocs/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS