Skip to content
OpenAdvisories
High · 7.7 CVE-2024-49362 EUVD-2024-3261GHSA-hff8-hjwv-j9q7

Remote Code Execution on click of <a> Link in markdown preview

Published Nov 14, 2024 · Updated Nov 14, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
laurent22 joplin < 3.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm joplin >= 3.0.0, < 3.1.0 3.1.0 GHSA-hff8-hjwv-j9q7

References