{
 "id": "WPSEC-2026-4466",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4466/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4466/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4466/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4466.json",
 "title": "LearnPress <= 4.5.0 - Authenticated (Subscriber+) Payment Bypass via PayPal Capture",
 "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.",
 "plugin": {
  "slug": "learnpress",
  "name": "LearnPress",
  "full_name": "LearnPress – WordPress LMS Plugin for Create and Sell Online Courses",
  "wordpress_org": "https://wordpress.org/plugins/learnpress/",
  "advisories_url": "https://wpsec.com/vuln/plugin/learnpress/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/learnpress"
 },
 "type": "BYPASS",
 "cwe": [
  "CWE-345"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.2.4",
    "from_inclusive": true,
    "to": "4.5.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.2.4 before 4.5.1"
  ]
 },
 "introduced_in": "4.2.4",
 "fixed_in": "4.5.1",
 "remediation": "Update to 4.5.1 or later.",
 "fix_released": "2026-12-02T02:18:37+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:30:57.370090+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4466/",
  "https://plugins.svn.wordpress.org/learnpress/tags/4.5.1/",
  "https://wordpress.org/plugins/learnpress/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/learnpress",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-03"
 }
}