{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-1218",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-18T11:43:06Z",
 "summary": "Academy LMS <= 4.0.5 - Authenticated (Subscriber+) Privilege Escalation via Student Role 'edit_posts' Capability",
 "details": "The academy plugin for WordPress is vulnerable to Privilege Escalation via the Academy Student role in all versions up to, and including, 4.0.5, due to the plugin granting the 'edit_posts' capability to the academy_student role. Any user receives this role when enrolling in a course. This makes it possible for authenticated attackers, with subscriber-level access and above, to enroll in any available course and gain contributor-level capabilities, such as creating and editing posts through the WordPress REST API and the admin.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "academy"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "4.0.7"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 4.0.7"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-1218/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/academy/tags/4.0.7/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/academy/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-1218/",
  "cwe_ids": [
   "CWE-269"
  ],
  "vulnerability_type": "PRIV",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
