Vulnerability library
Security checkJanuary 30, 2025

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmjoplin

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

There is a vulnerability in Joplin-desktop 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.

Recommendation

Update the joplin package to the latest compatible version. Followings are version details:

  • Affected version(s): = 3.0.0
  • Patched version(s): 3.1.0

References

Could your website be exposed too?

SmartScanner can check your website for Remote Code Execution on click of <a> Link in markdown preview and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 30, 2025