{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.7.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d9767bd2c6558d4ef1499568cdc72d053f3329ac"
            }
          ],
          "repo": "https://github.com/laurent22/joplin",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8qm8-mp6h-qf35"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-620",
      "CWE-640"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105785.json"
  },
  "details": "Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. Prior to Joplin Server 3.7.2, packages/server/src/models/TokenModel.ts stores CSRF, account-confirmation, email-change, and password-reset tokens without a purpose, and packages/server/src/models/UserModel.ts allows UserModel.resetPassword to accept any token returned by TokenModel.userFromToken. An attacker who obtains a victim's CSRF or confirmation token through a separate disclosure channel can submit it to the public password-reset endpoint, replace the victim's password, and cause the existing sessions and API applications to be deleted. This issue is fixed in Joplin Server 3.7.2.",
  "id": "CVE-2026-105785",
  "modified": "2026-10-06T10:30:22.590969395Z",
  "published": "2026-10-05T23:12:45.286Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105785.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laurent22/joplin/commit/7766eefa11fa006b6a1971da24e0c820cf1d2118"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laurent22/joplin/pull/16274"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/laurent22/joplin/security/advisories/GHSA-8qm8-mp6h-qf35"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105785"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Joplin Server password reset accepts tokens issued for unrelated purposes"
}