{
 "id": "WPSEC-2026-2872",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2872/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2872/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2872/index.md",
 "title": "BetterDocs <= 4.9.5 - Authenticated (Contributor+) Sensitive Information Exposure of Draft and Private Docs via doc-categories REST Route",
 "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.",
 "plugin": {
  "slug": "betterdocs",
  "name": "BetterDocs",
  "full_name": "BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot",
  "wordpress_org": "https://wordpress.org/plugins/betterdocs/",
  "advisories_url": "https://wpsec.com/vuln/plugin/betterdocs/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/betterdocs"
 },
 "type": "SENSITIVE DATA DISCLOSURE",
 "cwe": [
  "CWE-200"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.9.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.9.6"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.9.6",
 "remediation": "Update to 4.9.6 or later.",
 "fix_released": "2026-11-10T07:27:18+00:00",
 "published": "2026-11-12T17:52:14+00:00",
 "updated": "2026-11-12T17:07:42.372493+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2872/",
  "https://plugins.svn.wordpress.org/betterdocs/tags/4.9.6/",
  "https://wordpress.org/plugins/betterdocs/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/betterdocs",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-12"
 }
}