CVE-2024-49362
CRITICAL 9.6CVSS 3.1Remote Code Execution on click of <a> Link in markdown preview
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.
- Published
- 14 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-94
- Also known as
- GHSA-hff8-hjwv-j9q7
- Sources
- NVDJSONOSV GHSA-hff8-hjwv-j9q7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | joplin_project | joplincpe:2.3:a:joplin_project:joplin:*:*:*:*:*:-:*:* |
< 3.1 | 3.1 |
| OSV | npm | joplin | >= 3.0.0, < 3.1.0 | 3.1.0 |
References
- https://github.com/laurent22/joplin/security/advisories/GHSA-hff8-hjwv-j9q7 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-49362 · ADVISORY
- https://github.com/laurent22/joplin · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 14 Nov 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Nov 2024)