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

- **ID:** WPSEC-2026-2538
- **Plugin:** weDocs: AI Powered Knowledge Base, Docs, Documentation, Wiki & AI Chatbot (`wedocs`), https://wordpress.org/plugins/wedocs/
- **Affected versions:** from 2.2.0 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 None seen (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-2538/

## Description

The weDocs plugin for WordPress is vulnerable to Sensitive Information Exposure via the AI summary REST routes in all versions up to, and including, 2.6.1. This is because the route that reads a stored summary had no permission check ('__return_true'), and the summary generation check did not take post passwords into account. This makes it possible for unauthenticated attackers to read stored AI summaries of draft, private and password-protected docs, and to generate summaries of password-protected docs, exposing content taken from the doc body.

## References

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

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

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.
