{"schemaVersion":3,"id":"CVE-2026-5167","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-08T06:43:41.319Z","modified":"2026-04-08T17:17:31.736Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00492,"percentile":0.40992,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.117,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00375},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00492,"percentile":0.40992}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00375,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00492,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00492,"percentile":0.40992}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"}],"affected":[{"vendor":"masteriyo","product":"masteriyo lms – online course builder for elearning, lms & education","name":"Masteriyo LMS – Online Course Builder for eLearning, LMS & Education","label":"masteriyo lms – online course builder for elearning, lms & education","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.1.7","eol":null,"hubHref":"/vendor/masteriyo/masteriyo_lms_-_online_course_builder_for_elearning_lms__education"},{"vendor":"wordpress","product":"learning-management-system","name":"Masteriyo LMS – LMS Course Builder, Quizzes & Certificates","label":"learning-management-system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.1.7 (fixed in 2.1.8)","noFixRecorded":false,"fixedIn":"2.1.8"}],"versionsText":"≤ 2.1.7 (fixed in 2.1.8)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b6d51dc3-b695-4e9d-b25a-d1b302be1fec?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/b6d51dc3-b695-4e9d-b25a-d1b302be1fec?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/trunk/addons/stripe/StripeAddon.php#L563-639","label":"plugins.trac.wordpress.org/browser/learning-management-system/trunk/addons/stripe/StripeAddon.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/tags/2.1.4/addons/stripe/StripeAddon.php#L563-639","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/trunk/addons/stripe/StripeAddon.php#L649-704","label":"plugins.trac.wordpress.org/browser/learning-management-system/trunk/addons/stripe/StripeAddon.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/learning-management-system/tags/2.1.4/addons/stripe/StripeAddon.php#L649-704","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3499458/learning-management-system/trunk/addons/stripe/StripeAddon.php","label":"plugins.trac.wordpress.org/changeset/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b6d51dc3-b695-4e9d-b25a-d1b302be1fec","label":"www.wordfence.com/threat-intel/vulnerabilities/id/b6d51dc3-b695-4e9d-b25a-d1b302be1fec","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-08T06:43:41.319Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-08T17:17:31.736Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:49:19.318Z","stale":false,"partial":false}}