Vulnerability · Published Sep 21, 2026 · Assigned by GitHub_M
CVE-2026-59814Joplin: Stored XSS via inline-served note attachment on published shares
High 7.6
In plain English
A high-severity cross-site scripting in joplin from laurent22. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/laurent22/joplin/security/advisories/GHSA-mx98-7h4g-6gmh x_refsource_CONFIRM
- https://github.com/laurent22/joplin/pull/15787 x_refsource_MISC
- https://github.com/laurent22/joplin/commit/920cd8f463bf9bbce9daa07581676123007118e5 x_refsource_MISC