Vulnerabilities / BetterDocs / WPSEC-2026-2872

BetterDocs <= 4.9.5 - Authenticated (Contributor+) Sensitive Information Exposure of Draft and Private Docs via doc-categories REST Route

Medium 4.3 CWE-200Fixed in 4.9.6
ID
WPSEC-2026-2872
Plugin
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot (betterdocs)
Affected
all versions before 4.9.6
Remediation
Update to 4.9.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-12
Attack surface
BetterDocs on WPSec AttackSurface
Fix released
Published

Description

The BetterDocs plugin for WordPress is vulnerable to Sensitive Information Exposure via the betterdocs/v1/doc-categories REST route in all versions up to, and including, 4.9.5. The route queried draft, pending, private and scheduled docs for any user with the edit_docs capability and returned every match without checking whether that user could read or edit each doc. This makes it possible for authenticated attackers, with contributor-level access and above, to see the titles, slugs, authors and dates of other users' unpublished and private docs.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0