# MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.7.56 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Course Reviews

- **ID:** WPSEC-2026-2243
- **Plugin:** MasterStudy LMS WordPress Plugin – for Online Courses and Education (`masterstudy-lms-learning-management-system`), https://wordpress.org/plugins/masterstudy-lms-learning-management-system/
- **Affected versions:** all versions before 3.7.57
- **Fixed in:** 3.7.57 (Update to 3.7.57 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/masterstudy-lms-learning-management-system
- **Fix released:** 2026-10-30
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2243/

## 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.

## 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/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2243/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
