# weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot <= 2.6.1 - Unauthenticated Sensitive Information Exposure via Docs Search REST Route

- **ID:** WPSEC-2026-2539
- **Plugin:** weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot (`wedocs`), https://wordpress.org/plugins/wedocs/
- **Affected versions:** all versions before 2.6.2
- **Fixed in:** 2.6.2 (Update to 2.6.2 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wedocs
- **Fix released:** 2026-11-04
- **Published:** 2026-11-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2539/

## Description

The weDocs plugin for WordPress is vulnerable to Sensitive Information Exposure via the /wp/v2/docs/search REST route in all versions up to, and including, 2.6.1. This is because the route is public and returns the raw title and content of each doc whenever 'context=edit' is requested, without checking that the user can edit the doc. This makes it possible for unauthenticated attackers to read the content of password-protected docs.

## References

- https://wpsec.com/vuln/WPSEC-2026-2539/
- https://plugins.svn.wordpress.org/wedocs/tags/2.6.2/
- https://wordpress.org/plugins/wedocs/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2539/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
