CVE-2024-49362

HIGH

Joplin < 3.1 - Remote Code Execution via Unsanitized Mermaid Link Attributes

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 7.7
EPSS 0.0173
EPSS Percentile 82.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-94 CWE-79
Status published
Products (2)
joplin_project/joplin < 3.1
npm/joplin 3.0.0 - 3.1.0npm
Published Nov 14, 2024
Tracked Since Feb 18, 2026