Skip to content

CVE-2024-49362 Remote Code Execution on click of <a> Link in markdown preview

CriticalCVSS 9.6 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

Joplin is a free, open source note taking and to-do application. Joplin-desktop has a vulnerability that leads to remote code execution (RCE) when a user clicks on an <a> link within untrusted notes. The issue arises due to insufficient sanitization of <a> tag attributes introduced by the Mermaid. This vulnerability allows the execution of untrusted HTML content within the Electron window, which has full access to Node.js APIs, enabling arbitrary shell command execution.

Affected products

ProductAffected versionsFixed in
npm joplin(npm) = 3.0.0 No fix listed
laurent22 joplin = < 3.1 No fix listed
joplinapp joplin < 3.1 3.1
joplin project joplin < 3.1 3.1
npm joplin(npm) >= 3.0.0, < 3.1.0 3.1.0

References