CVE-2024-49362
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.
How to fix
- joplin_project joplin3.1 or later
- joplin3.1.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| joplin_project joplin | v < 3.1 | 3.1 |
| joplinnpm | 3.0.0 ≤ v < 3.1.0 | 3.1.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.