Cross-site scripting in Joplin - CVE-2023-37898
Published: June 21, 2024 / Updated: May 16, 2026
Joplin
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to cross-site scripting in packages/renderer/MarkupToHtml.ts when rendering an untrusted note in safe mode. A local user can create a specially crafted note to execute arbitrary code.
User interaction is required to open the crafted note, and exploitation relies on the rendered markdown iframe sharing the same origin as the top-level document without sandboxing.