# CVE-2023-37298: Joplin Cross-site Scripting in SVG editor

Source: https://junglewise.ai/threats/cve-2023-37298-joplin-cross-site-scripting-in-svg-editor  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-30. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2023-37298 · Severity: low · CVSS 3.1 · Published 2023-06-30

Joplin is a popular note-taking application available on desktop and mobile platforms. A cross-site scripting (XSS) vulnerability in versions before 2.11.5 allows attackers to inject malicious scripts through specially crafted SVG documents, potentially compromising the confidentiality and integrity of user notes when opened in the editor.

Technologies: [Joplin](https://junglewise.ai/threats/technologies/joplin). Vendors: [Joplin](https://junglewise.ai/threats/vendors/joplin).

## Quick answers

**Is CVE-2023-37298 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-37298 being exploited in the wild.

**How severe is CVE-2023-37298?** Low severity, with a CVSS score of 3.1, published 30 June 2023.

**Which products and versions are affected?** Joplin before 2.11.5.

**Is there a fix for CVE-2023-37298?** A patch was published on 2023-06-30: Version 2.11.5 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-37298 attacked?** It is attacked over the network.

**Am I affected by CVE-2023-37298?** Check whether you run Joplin 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.

## Technical details

The vulnerability is a DOM-based cross-site scripting (CWE-79) flaw that allows XSS through the USE element in SVG documents. The vulnerable component is the SVG tag support in the editor, which fails to properly sanitize or restrict SVG-based markup. The attack vector is network-based and requires user interaction (opening a malicious SVG document). An attacker can execute arbitrary JavaScript in the context of the Joplin application, potentially stealing notes or session data. The vulnerability was patched in version 2.11.5 by disabling SVG tag support in the editor.

## Affected products

- Joplin Joplin before 2.11.5

## Identifiers

- CVE-2023-37298
- GHSA-7grw-xfx6-qhx6

## Timeline

- 2023-06-30: disclosed
- 2023-06-30: patched: Version 2.11.5 released

## References

- [https://github.com/laurent22/joplin/commit/caf66068bfc474bbfd505013076ed173cd90ca83](https://github.com/laurent22/joplin/commit/caf66068bfc474bbfd505013076ed173cd90ca83)

## Related threats

- [Joplin CSS injection in whiteboard text and file nodes](https://junglewise.ai/threats/cve-2026-105784-joplin-is-an-open-source-note-taking-and-to-do-application-that)
- [Joplin XSS vulnerability in HTML note links](https://junglewise.ai/threats/cve-2026-46650-joplin-is-an-open-source-note-taking-and-to-do-application-that)
- [Joplin cross-site scripting in Fountain code blocks](https://junglewise.ai/threats/cve-2026-55105-joplin-is-an-open-source-note-taking-and-to-do-application-that)
- [Joplin path traversal in resource synchronization](https://junglewise.ai/threats/cve-2026-49453-joplin-is-an-open-source-note-taking-and-to-do-application-that)
- [Joplin denial of service via uncontrolled resource allocation in note titles](https://junglewise.ai/threats/cve-2025-57798-joplin-denial-of-service-via-uncontrolled-resource-allocation-in)
