Vulnerabilities / LearnPress / WPSEC-2026-4466

LearnPress <= 4.5.0 - Authenticated (Subscriber+) Payment Bypass via PayPal Capture

Medium 6.5 CWE-345Fixed in 4.5.1
ID
WPSEC-2026-4466
Plugin
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses (learnpress)
Affected
from 4.2.4 before 4.5.1
Remediation
Update to 4.5.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-345
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
Attack surface
LearnPress on WPSec AttackSurface
Fix released
Published

Description

The LearnPress plugin for WordPress is vulnerable to Payment Bypass via the PayPal payment capture (the PayPal return URL handler and the learnpress/v1/checkout/paypal/capture REST endpoint) in versions 4.2.4 up to, and including, 4.5.0. This is due to the plugin picking the LearnPress order from the custom_id value of the captured PayPal order, without checking that it created that PayPal order for that LearnPress order or that the captured amount and currency match the order total. This makes it possible for authenticated attackers, with Subscriber-level access and above, to pay a PayPal order for a lower amount and have a more expensive LearnPress order marked as completed. This gives them access to paid courses without paying the full price.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0