CVE-2026-5167: CWE-639 Authorization Bypass Through User-Controlled Key in masteriyo Masteriyo LMS – Online Course Builder for eLearning, LMS & Education
Masteriyo LMS plugin for WordPress versions up to 2. 1. 7 contains an authorization bypass vulnerability due to insufficient webhook signature verification. The webhook endpoint processes unauthenticated requests and only verifies signatures if a webhook_secret is configured and the HTTP_STRIPE_SIGNATURE header is present. Since webhook_secret defaults to an empty string, attackers can send unauthenticated fake Stripe webhook events with arbitrary order_id values, marking orders as completed without payment and gaining unauthorized access to paid course content.
AI Analysis
Technical Summary
CVE-2026-5167 is an authorization bypass vulnerability in the Masteriyo LMS WordPress plugin (up to version 2.1.7) caused by insufficient verification of webhook signatures in the handle_webhook() function. The webhook endpoint accepts unauthenticated requests and only performs signature verification if both a webhook_secret is set and the HTTP_STRIPE_SIGNATURE header is present. Because the webhook_secret defaults to an empty string, the plugin processes attacker-controlled JSON payloads without verification. This allows unauthenticated attackers to forge Stripe webhook events with arbitrary order_id metadata, enabling them to mark orders as paid and access paid course content without authorization.
Potential Impact
An attacker can bypass authorization controls by sending unauthenticated, forged Stripe webhook events to the Masteriyo LMS plugin. This can result in orders being marked as completed without actual payment, allowing unauthorized access to paid course content. The vulnerability impacts the integrity of order processing and access control within the affected plugin versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should ensure that the webhook_secret setting is properly configured with a strong secret value and verify that the HTTP_STRIPE_SIGNATURE header is required and validated. If possible, restrict access to the webhook endpoint to trusted IP addresses or implement additional verification controls. Monitor vendor channels for updates or patches addressing this vulnerability.
CVE-2026-5167: CWE-639 Authorization Bypass Through User-Controlled Key in masteriyo Masteriyo LMS – Online Course Builder for eLearning, LMS & Education
Description
Masteriyo LMS plugin for WordPress versions up to 2. 1. 7 contains an authorization bypass vulnerability due to insufficient webhook signature verification. The webhook endpoint processes unauthenticated requests and only verifies signatures if a webhook_secret is configured and the HTTP_STRIPE_SIGNATURE header is present. Since webhook_secret defaults to an empty string, attackers can send unauthenticated fake Stripe webhook events with arbitrary order_id values, marking orders as completed without payment and gaining unauthorized access to paid course content.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5167 is an authorization bypass vulnerability in the Masteriyo LMS WordPress plugin (up to version 2.1.7) caused by insufficient verification of webhook signatures in the handle_webhook() function. The webhook endpoint accepts unauthenticated requests and only performs signature verification if both a webhook_secret is set and the HTTP_STRIPE_SIGNATURE header is present. Because the webhook_secret defaults to an empty string, the plugin processes attacker-controlled JSON payloads without verification. This allows unauthenticated attackers to forge Stripe webhook events with arbitrary order_id metadata, enabling them to mark orders as paid and access paid course content without authorization.
Potential Impact
An attacker can bypass authorization controls by sending unauthenticated, forged Stripe webhook events to the Masteriyo LMS plugin. This can result in orders being marked as completed without actual payment, allowing unauthorized access to paid course content. The vulnerability impacts the integrity of order processing and access control within the affected plugin versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should ensure that the webhook_secret setting is properly configured with a strong secret value and verify that the HTTP_STRIPE_SIGNATURE header is required and validated. If possible, restrict access to the webhook endpoint to trusted IP addresses or implement additional verification controls. Monitor vendor channels for updates or patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-30T15:04:11.752Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d5fe4e1cc7ad14da373a46
Added to database: 4/8/2026, 7:05:50 AM
Last enriched: 4/15/2026, 1:51:24 PM
Last updated: 5/23/2026, 8:54:23 AM
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.