PT-2024-33486 · Mermaid+3 · Mermaid+3
Jackfromeast
·
Published
2024-11-14
·
Updated
2024-11-15
·
CVE-2024-49362
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Joplin-desktop (affected versions not specified)
Description
The issue arises due to insufficient sanitization of
<a> tag attributes introduced by the Mermaid, allowing the execution of untrusted HTML content within the Electron window. This enables arbitrary shell command execution when a user clicks on an <a> link within untrusted notes. The markdown preview iframe shares the same origin as its parent and lacks the sandbox attribute, allowing scripts running in the iframe to call Node.js APIs through window.parent.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
RCE
Code Injection
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Electron
Joplin-Desktop
Mermaid
Node.Js