Remote Code Execution on click of <a> Link in markdown preview
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94 and CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| laurent22 | joplin | before 3.1 | 3.1 | Patch available | CNA |
| — | joplin (npm) | 3.0.0 to before 3.1.0 | 3.1.0 | Patch available | GHSA-hff8-hjwv-j9q7 |
- joplin Vendorlaurent22 Affected before 3.1 Fixed in 3.1 Patch available CNA
- joplin (npm) Vendor— Affected 3.0.0 to before 3.1.0 Fixed in 3.1.0 Patch available GHSA-hff8-hjwv-j9q7
Remediation
- Fix · CNA joplin (laurent22) Fixed in 3.1
- Fix · GHSA-hff8-hjwv-j9q7 joplin (npm) Fixed in 3.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-49362
- 2026-10-03 Alias added: GHSA-hff8-hjwv-j9q7
References
More laurent22 Joplin vulnerabilities
- TI-2023-24472 Arbitrary code execution on click of PDF links in Joplin CVSS 3.1CRITICAL 9.0
- TI-2024-27054 Joplin has a parsing error leading to Cross-site Scripting (XSS) CVSS 3.1CRITICAL 9.7
- TI-2025-17795 Cross-site Scripting (XSS) in Rich Text Editor allows arbitrary code execution in Joplin CVSS 3.1CRITICAL 9.6
- TI-2025-19991 Privilege escalation in Joplin server via user patch endpoint CVSS 3.1HIGH 8.8
- TI-2024-35730 Lack of validation on openExternal allows 1 click remote code execution in joplin CVSS 3.1HIGH 8.8
- TI-2025-20244 Joplin Server Vulnerable to Path Traversal CVSS 3.1HIGH 7.5
Sources
- CVE-2024-49362 · CVE Program
- CVE-2024-49362 · NVD
- FIRST EPSS
- GHSA-hff8-hjwv-j9q7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences