{"id":"CVE-2026-5167","published":"2026-04-08T06:43:41Z","modified":"2026-04-08T17:17:31Z","title":"Masteriyo LMS <= 2.1.7 - Unauthenticated Authorization Bypass to Arbitrary Order Completion via Stripe Webhook Endpoint","vendor":"masteriyo","product":"Masteriyo LMS – Online Course Builder for eLearning, LMS & Education","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.33962,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b6d51dc3-b695-4e9d-b25a-d1b302be1fec?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/trunk/addons/stripe/StripeAddon.php#L563-639","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/tags/2.1.4/addons/stripe/StripeAddon.php#L563-639","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/trunk/addons/stripe/StripeAddon.php#L649-704","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/tags/2.1.4/addons/stripe/StripeAddon.php#L649-704","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3499458/learning-management-system/trunk/addons/stripe/StripeAddon.php","tags":[]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":6.79},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"masteriyo","affectedVersions":[{"vendor":"masteriyo","product":"Masteriyo LMS – Online Course Builder for eLearning, LMS & Education","versions":["<= 2.1.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-08T14:48:00.565657Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-20117","exploited":false,"provenance":"source"}}