# MasterStudy LMS <= 3.7.52 - Authenticated (Contributor+) Stored Cross-Site Scripting via Payout Transaction ID

- **ID:** WPSEC-2026-0496
- **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.53
- **Fixed in:** 3.7.53 (Update to 3.7.53 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-10-07)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/masterstudy-lms-learning-management-system
- **Fix released:** 2026-10-06
- **Published:** 2026-10-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0496/

## Description

The MasterStudy LMS WordPress Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the payout 'transaction_id' meta value in all versions up to, and including, 3.7.52 due to insufficient output escaping in the admin Payouts list and payout edit screen, combined with the payout post type using default post capabilities and unprotected meta. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts into payout records that will execute whenever an administrator views the Payouts list or payout edit screen.

## References

- https://wpsec.com/vuln/WPSEC-2026-0496/
- https://plugins.svn.wordpress.org/masterstudy-lms-learning-management-system/tags/3.7.53/
- https://wordpress.org/plugins/masterstudy-lms-learning-management-system/

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

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.
