{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.2.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "6798ada87f821bc955cda15e4412e84143dbcb85"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6798ada87f821bc955cda15e4412e84143dbcb85"
            }
          ],
          "repo": "https://github.com/wishthis/wishthis",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130851.json"
  },
  "details": "wishthis through 1.2.3 contains an authorization bypass vulnerability in User::ownsWishlist() that allows authenticated users to modify other users' wishes and wishlists. Attackers can supply sequential wish_id and wishlist_id values to the wishes and wishlists API handlers to edit wishes, add wishes, or rename and delete wishlists.",
  "id": "CVE-2026-130851",
  "modified": "2026-11-18T20:46:12.921243414Z",
  "published": "2026-11-17T19:47:41.100Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130851.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130851"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/wishthis-through-1.2.3-authorization-bypass-via-ownswishlist-ownership-check"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/wishthis/wishthis/issues/244"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wishthis/wishthis/commit/6798ada87f821bc955cda15e4412e84143dbcb85"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/wishthis/wishthis"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/wishthis/wishthis/blob/v1.2.3/src/api/wishlists.php#L223-L265"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/wishthis/wishthis/blob/v1.2.3/src/classes/wishthis/User.php#L317-L332"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "wishthis through 1.2.3 Authorization Bypass via ownsWishlist Ownership Check"
}