Description
The Masteriyo LMS – LMS Course Builder, Quizzes & Certificates plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 3.5.1 via deserialization of untrusted input in the course importer. The set_post_metas() method calls maybe_unserialize() on attacker-controlled postmeta string values parsed from the uploaded JSON import file. This makes it possible for unauthenticated attackers to inject arbitrary PHP Objects. Exploitation by unauthenticated attackers requires that the site has enable_instructor_registration=true AND enable_guest_checkout=true AND at least one purchasable course exists. Install.php sets enable_instructor_registration=false on fresh installs, so this is a non-default configuration. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
Severity (CVSS)
| Base score | 9.8 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-502 — CWE-502 Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| masteriyo | Masteriyo LMS – LMS Course Builder, Quizzes & Certificates | 0 to <=3.5.1 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d3aca4ff-b921-489d-9fc0-9bbecb19c8f5?source=cve
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/Importer/CourseImporter.php#L288
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/RestApi/Controllers/Version1/CoursesImportExportController.php#L568
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/Checkout.php#L396
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/includes/RestApi/Controllers/Version1/CoursesImportExportController.php#L210
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.1/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php#L45
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/3.5.2
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.