What’s Vulnerable › Vulnerabilities
CVE-2024-49362: Remote Code Execution on click of <a> Link in markdown preview
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-11-14 · updated 2026-06-17
- Weakness: CWE-94
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
- laurent22 joplin: before 3.1 — fixed in 3.1
How to fix
Upgrade to a fixed version: laurent22 joplin 3.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-49362 or the next vulnerability affects your stack