# MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.7.56 - Authenticated (Subscriber+) Missing Authorization to Attachment URL Disclosure via 'wpcfto_get_image_url' AJAX Action

- **ID:** WPSEC-2026-2242
- **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 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-862
- **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-2242/

## Description

The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to unauthorized access of data via the 'wpcfto_get_image_url' AJAX action in all versions up to, and including, 3.7.56, due to a missing capability check and missing nonce verification on the bundled NUXY settings library's wpcfto_get_image_url() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to retrieve the URL of any media attachment by ID, including attachments that belong to private or draft posts.

## References

- https://wpsec.com/vuln/WPSEC-2026-2242/
- 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-2242/

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.
