{
 "id": "WPSEC-2026-1835",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1835/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1835/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1835/index.md",
 "title": "MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.7.55 - Unauthenticated Limited Local File Inclusion via 'params' Parameter",
 "description": "The MasterStudy LMS WordPress Plugin plugin for WordPress is vulnerable to Limited Local File Inclusion via the 'params' parameter of the stm_lms_load_modal AJAX action in all versions up to, and including, 3.7.55. This is due to the action being registered for unauthenticated users with a nonce printed on every front-end page, and the decoded 'params' array being passed to extract() in STM_LMS_Templates::load_lms_template(), so a 'template_name' key overwrites the template being loaded. This makes it possible for unauthenticated attackers to include and render any PHP template in the plugin's (or theme's) stm-lms-templates directory with variables they choose. For example, they can render the course player lesson template for any lesson ID and read paid or unpublished lesson content. Directory traversal outside the template directory is blocked.",
 "plugin": {
  "slug": "masterstudy-lms-learning-management-system",
  "name": "MasterStudy LMS WordPress Plugin – for Online Courses and Education",
  "full_name": "MasterStudy LMS WordPress Plugin – for Online Courses and Education",
  "wordpress_org": "https://wordpress.org/plugins/masterstudy-lms-learning-management-system/",
  "advisories_url": "https://wpsec.com/vuln/plugin/masterstudy-lms-learning-management-system/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/masterstudy-lms-learning-management-system"
 },
 "type": "LFI",
 "cwe": [
  "CWE-98"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.7.56",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.7.56"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.7.56",
 "remediation": "Update to 3.7.56 or later.",
 "fix_released": "2026-10-27T11:07:12+00:00",
 "published": "2026-10-28T11:50:08+00:00",
 "updated": "2026-10-28T09:11:42.221943+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1835/",
  "https://plugins.svn.wordpress.org/masterstudy-lms-learning-management-system/tags/3.7.56/",
  "https://wordpress.org/plugins/masterstudy-lms-learning-management-system/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/masterstudy-lms-learning-management-system",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Low",
  "as_of": "2026-10-28"
 }
}