Skip to content

CVE-2026-5167 Masteriyo LMS <= 2.1.7 - Unauthenticated Authorization Bypass to Arbitrary Order Completion via Stripe Webhook Endpoint

MediumCVSS 5.3 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Masteriyo LMS – Online Course Builder for eLearning, LMS & Education <= 2.1.7 after 2.1.7 Fixed
wordpress learning-management-system(WordPress) < 2.1.8 2.1.8 Fixed

Affected products

ProductAffected versionsFixed in
Masteriyo LMS – Online Course Builder for eLearning, LMS & Education <= 2.1.7 No fix listed
wordpress learning-management-system(WordPress) < 2.1.8 2.1.8

References