Vulnerability Description
The Masteriyo LMS – Online Course Builder for eLearning, LMS & Education plugin for WordPress is vulnerable to Authorization Bypass Through User-Controlled Key in versions up to and including 2.1.7. This is due to insufficient webhook signature verification in the handle_webhook() function. The webhook endpoint processes unauthenticated requests and only performs signature verification if both the webhook_secret setting is configured AND the HTTP_STRIPE_SIGNATURE header is present. Since webhook_secret defaults to an empty string, the webhook processes attacker-controlled JSON payloads without any verification. This makes it possible for unauthenticated attackers to send fake Stripe webhook events with arbitrary order_id values in the metadata, mark any order as completed without payment, and gain unauthorized access to paid course content.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/2.1.4
- https://plugins.trac.wordpress.org/browser/learning-management-system/tags/2.1.4
- https://plugins.trac.wordpress.org/browser/learning-management-system/trunk/addo
- https://plugins.trac.wordpress.org/browser/learning-management-system/trunk/addo
- https://plugins.trac.wordpress.org/changeset/3499458/learning-management-system/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b6d51dc3-b695-4e9d-b25
FAQ
What is CVE-2026-5167?
CVE-2026-5167 is a vulnerability with a CVSS score of 5.3 (MEDIUM). The Masteriyo LMS – Online Course Builder for eLearning, LMS & Education plugin for WordPress is vulnerable to Authorization Bypass Through User-Controlled Key in versions up to and including 2.1.7. T...
How severe is CVE-2026-5167?
CVE-2026-5167 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-5167?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.