{"id":"CVE-2026-59814","state":"PUBLISHED","title":"Joplin: Stored XSS via inline-served note attachment on published shares","description":"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.","publishedAt":"2026-09-21T21:13:17.395Z","updatedAt":"2026-09-22T13:29:52.943Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["laurent22 joplin"],"affected":[{"vendor":"laurent22","product":"joplin","versions":[{"version":"< 3.7.7","status":"affected"}]}],"references":["https://github.com/laurent22/joplin/security/advisories/GHSA-mx98-7h4g-6gmh","https://github.com/laurent22/joplin/pull/15787","https://github.com/laurent22/joplin/commit/920cd8f463bf9bbce9daa07581676123007118e5"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59814.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59814","state":"PUBLISHED","datePublished":"2026-09-21T21:13:17.395Z","dateUpdated":"2026-09-22T13:29:52.943Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T15:00:50.978Z"},"containers":{"cna":{"title":"Joplin: Stored XSS via inline-served note attachment on published shares","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"laurent22","product":"joplin","versions":[{"version":"< 3.7.7","status":"affected"}]}],"references":[{"url":"https://github.com/laurent22/joplin/security/advisories/GHSA-mx98-7h4g-6gmh","name":"https://github.com/laurent22/joplin/security/advisories/GHSA-mx98-7h4g-6gmh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/laurent22/joplin/pull/15787","name":"https://github.com/laurent22/joplin/pull/15787","tags":["x_refsource_MISC"]},{"url":"https://github.com/laurent22/joplin/commit/920cd8f463bf9bbce9daa07581676123007118e5","name":"https://github.com/laurent22/joplin/commit/920cd8f463bf9bbce9daa07581676123007118e5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-21T21:13:17.395Z"},"source":{"advisory":"GHSA-mx98-7h4g-6gmh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/laurent22/joplin/security/advisories/GHSA-mx98-7h4g-6gmh","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T13:29:30.699889Z","id":"CVE-2026-59814","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T13:29:52.943Z"}}]}}}