Paper/Archive/CVE-2024-49362

CVE-2024-49362

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

Description · from the CVE record

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

ProductAffectedFixed inSource
joplin< 3.1–CNA
joplin< 3.13.1CISA-ADP

Scores by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub_M (CNA)7.7CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/laurent22/joplin/security/advisories/GHSA-hff8-hjwv-j9q7