Auth bypass in Thimpress Learnpress – WordPress Lms Plugin For Create And Sell Online Courses
CVE-2026-7648
The LearnPress – WordPress LMS Plugin for Create and Sell Online Courses plugin for WordPress is vulnerable to payment bypass through user-controlled key in all versions up to, and including, 4.3.5. This is due to improper handling of user-supplied request parameters in the REST API endpoint, which passes the unsanitized parameter array to the add_to_cart() function where array_merge() allows attacker-controlled values to overwrite hardcoded defaults. This makes it possible for authenticated attackers, with subscriber-level access and above, to enroll in any paid course entirely free of charge by supplying a quantity value of zero, which causes the order total to calculate as $0 and bypasses all payment gateway requirements.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 37.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/564ec4a6-20d3-4b46-8637-fc1de…
- plugins.trac.wordpress.org/browser/learnpress/trunk/inc/cart/class-lp-cart.php
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.3/inc/cart/class-lp-cart…
- plugins.trac.wordpress.org/browser/learnpress/trunk/inc/rest-api/v1/frontend/cl…
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.3/inc/rest-api/v1/fronte…
- plugins.trac.wordpress.org/browser/learnpress/trunk/inc/cart/class-lp-cart.php
- plugins.trac.wordpress.org/browser/learnpress/tags/4.3.3/inc/cart/class-lp-cart…
- plugins.trac.wordpress.org/changeset