BetterDocs <= 4.9.7 - Unauthenticated Sensitive Information Exposure via Nested Categories Fragment Cache
- ID
- WPSEC-2026-4579
- Plugin
- BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot (betterdocs)
- Affected
- from 4.8.0 before 4.9.8
- Remediation
- Update to 4.9.8 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-524
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
- Attack surface
- BetterDocs on WPSec AttackSurface
- Fix released
- Published
Description
The BetterDocs plugin for WordPress is vulnerable to Sensitive Information Exposure via the nested sub-category list fragment cache in versions 4.8.0 up to, and including, 4.9.7. The cached HTML is keyed on the lists query arguments and on whether the viewer can read private docs, but not on the viewers roles, while the docs query it caches includes the logged-in viewers own private docs. This makes it possible for unauthenticated attackers to be served, for up to six hours, a listing rendered for a logged-in author, exposing the titles and links of that authors private docs, and on sites with content restriction rules, docs those rules hide from visitors.
References
- https://wpsec.com/vuln/WPSEC-2026-4579/
- https://plugins.svn.wordpress.org/betterdocs/tags/4.9.8/
- https://wordpress.org/plugins/betterdocs/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS