Quick answers
- Is CVE-2023-37299 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-37299 being exploited in the wild.
- How severe is CVE-2023-37299?
- Low severity, with a CVSS score of 3.1, published 30 June 2023.
- Which products and versions are affected?
- joplin (npm) SEMVER:introduced=0,fixed=2.11.5.
- Is there a fix for CVE-2023-37299?
- Yes. joplin (npm): upgrade to 2.11.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-37299 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2023-37299?
- Check whether you run joplin (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- joplin (npm): upgrade to 2.11.5 or later
npm install joplin@2.11.5
Technical details
The vulnerability is a Cross-site Scripting (CWE-79) flaw in Joplin's HTML rendering engine. The root cause is insufficient sanitization of HTML attributes, specifically within area elements that are part of image map markup. An attacker can create a malicious notebook with a crafted area tag containing XSS payload (e.g., in event handlers or javascript: URLs) that executes when the notebook is rendered. This requires the victim to open the malicious notebook, but no other authentication or network preconditions are needed. Successful exploitation allows arbitrary JavaScript execution in the context of the Joplin application, potentially enabling session hijacking, data theft, or further compromise. The fix was implemented in version 2.11.5 by sanitizing certain HTML attributes and disabling SVG tag support to prevent XSS vectors.
Affected products
- Laurent22 Joplin < 2.11.5
Identifiers
- CVE-2023-37299
- GHSA-4jjv-p8x9-rrf7
Timeline
- 2023-06-30: disclosed
- 2023-05-28: patched: Version 2.11.5 released with fix