Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.3/inc/cart/class-
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.3/inc/cart/class-
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.3/inc/rest-api/v1
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/cart/class-lp-ca
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/cart/class-lp-ca
- https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/rest-api/v1/fron
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/564ec4a6-20d3-4b46-863
FAQ
What is CVE-2026-7648?
CVE-2026-7648 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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. T...
How severe is CVE-2026-7648?
CVE-2026-7648 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-7648?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.