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
| Product | Affected versions | Fixed 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
- https://github.com/laurent22/joplin/security/advisories/GHSA-hff8-hjwv-j9q7 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product