{
 "id": "WPSEC-2026-2243",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2243/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2243/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2243/index.md",
 "title": "MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.7.56 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Course Reviews",
 "description": "The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to arbitrary shortcode execution via course reviews in all versions up to, and including, 3.7.56, due to the stm_lms_add_review AJAX action storing review text without removing shortcodes and the review listing rendering that text through the 'the_content' filter, which runs do_shortcode. This makes it possible for authenticated attackers, with Subscriber-level access and above, to execute arbitrary registered shortcodes. The attacker sees the output at once, because a review still awaiting moderation is shown to its author. When reviews are limited to enrolled students, the attacker must also have access to the course.",
 "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": "RCE",
 "cwe": [
  "CWE-94"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.7.57",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.7.57"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.7.57",
 "remediation": "Update to 3.7.57 or later.",
 "fix_released": "2026-10-30T11:30:13+00:00",
 "published": "2026-11-03T14:48:33+00:00",
 "updated": "2026-11-03T13:21:13.158805+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2243/",
  "https://plugins.svn.wordpress.org/masterstudy-lms-learning-management-system/tags/3.7.57/",
  "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": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-03"
 }
}