{
 "id": "WPSEC-2026-2912",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2912/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2912/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2912/index.md",
 "title": "LearnPress <= 4.1.1 - Unauthenticated Insecure Direct Object Reference to Wishlist Modification via 'user_id' Parameter",
 "description": "The LearnPress – Course Wishlist plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'user_id' argument of the wishlist button block's AJAX load-content callback (ButtonWishListBlockType::render_button) in all versions up to, and including, 4.1.1. This is due to the callback taking the acting user from the client-supplied 'user_id' value instead of the current session. This makes it possible for unauthenticated attackers to add courses to or remove them from any user's wishlist, and to find out whether a given course is in another user's wishlist, on sites where the wishlist block is registered (block themes).",
 "plugin": {
  "slug": "learnpress-wishlist",
  "name": "LearnPress",
  "full_name": "LearnPress – Course Wishlist",
  "wordpress_org": "https://wordpress.org/plugins/learnpress-wishlist/",
  "advisories_url": "https://wpsec.com/vuln/plugin/learnpress-wishlist/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/learnpress-wishlist"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.0.9",
    "from_inclusive": true,
    "to": "4.1.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.0.9 before 4.1.2"
  ]
 },
 "introduced_in": "4.0.9",
 "fixed_in": "4.1.2",
 "remediation": "Update to 4.1.2 or later.",
 "fix_released": "2026-11-11T03:52:45+00:00",
 "published": "2026-11-12T17:52:14+00:00",
 "updated": "2026-11-12T17:09:30.164931+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2912/",
  "https://plugins.svn.wordpress.org/learnpress-wishlist/tags/4.1.2/",
  "https://wordpress.org/plugins/learnpress-wishlist/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/learnpress-wishlist",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-12"
 }
}