{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4579",
 "modified": "2026-12-04T07:44:01Z",
 "published": "2026-12-04T07:44:01Z",
 "summary": "BetterDocs <= 4.9.7 - Unauthenticated Sensitive Information Exposure via Nested Categories Fragment Cache",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "betterdocs"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "4.8.0"
      },
      {
       "fixed": "4.9.8"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 4.8.0 before 4.9.8"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4579/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/betterdocs/tags/4.9.8/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/betterdocs/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4579/",
  "cwe_ids": [
   "CWE-524"
  ],
  "vulnerability_type": "SENSITIVE DATA DISCLOSURE",
  "severity": "Low",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
