{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.7.7"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "920cd8f463bf9bbce9daa07581676123007118e5"
            }
          ],
          "repo": "https://github.com/laurent22/joplin",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mx98-7h4g-6gmh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59814.json"
  },
  "details": "Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. Prior to 3.7.7, Joplin Server's GET /shares/:id?resource_id= route serves a resource with the attacker-controlled mime value and omits Content-Disposition when the resource title is empty. A low-privileged user can publish an empty-title image/svg+xml attachment whose script executes when a victim opens the public share. By default, user content shares the Joplin Server application origin, allowing the script to access same-origin data and, when the victim is authenticated, perform actions with the victim's session, including reading administrative data and anti-CSRF tokens. Installations that configure USER_CONTENT_BASE_URL to a separate origin still execute the script, but on that separate user-content origin rather than the application origin. This issue is fixed in version 3.7.7.",
  "id": "CVE-2026-59814",
  "modified": "2026-09-25T03:30:59.130411753Z",
  "published": "2026-09-21T21:13:17.395Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59814.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/laurent22/joplin/security/advisories/GHSA-mx98-7h4g-6gmh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59814"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laurent22/joplin/commit/920cd8f463bf9bbce9daa07581676123007118e5"
    },
    {
      "type": "FIX",
      "url": "https://github.com/laurent22/joplin/pull/15787"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Joplin: Stored XSS via inline-served note attachment on published shares"
}