# CVE-2024-49362: Remote Code Execution on click of <a> Link in markdown preview

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-14T17:37:09.700Z
- Modified: 2026-06-17T07:59:46.080Z
- Also known as: GHSA-hff8-hjwv-j9q7
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- laurent22 joplin: < 3.1
- joplinapp joplin: before 3.1
- joplin (npm): from 3.0.0 before 3.1.0
- joplin_project joplin: before 3.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2024-49362](https://www.cve.org/CVERecord?id=CVE-2024-49362), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-hff8-hjwv-j9q7](https://github.com/advisories/GHSA-hff8-hjwv-j9q7), CC-BY-4.0, modified 2025-01-30
- NVD: [CVE-2024-49362](https://nvd.nist.gov/vuln/detail/CVE-2024-49362), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-49362 · Whole record: https://cve.day/CVE-2024-49362.json · Rebuilt by cve.day 2026-11-25T22:58:48.265Z
