9.6
CRITICAL
CVE-2025-24028
Joplin Rich Text Editor Cross-Site Scripting (XSS) Vulnerability
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.

INFO

Published Date :

Feb. 7, 2025, 11:15 p.m.

Last Modified :

April 18, 2025, 1:57 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2025-24028 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Joplin_project joplin
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-24028 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-24028 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 18, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:joplin_project:joplin:*:*:*:*:*:-:*:* versions up to (excluding) 3.2.12
    Added Reference Type GitHub, Inc.: https://github.com/laurent22/joplin/commit/2a058ed8097c2502e152b26394dc1917897f5817 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/laurent22/joplin/commit/9b505395918bc923f34fe6f3b960bb10e8cf234e Types: Patch
    Added Reference Type CISA-ADP: https://github.com/laurent22/joplin/security/advisories/GHSA-5w3c-wph9-hq92 Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/laurent22/joplin/security/advisories/GHSA-5w3c-wph9-hq92 Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://joplinapp.org/help/dev/spec/note_viewer_isolation Types: Product
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Feb. 10, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/laurent22/joplin/security/advisories/GHSA-5w3c-wph9-hq92
  • New CVE Received by [email protected]

    Feb. 07, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CWE CWE-79
    Added Reference https://github.com/laurent22/joplin/commit/2a058ed8097c2502e152b26394dc1917897f5817
    Added Reference https://github.com/laurent22/joplin/commit/9b505395918bc923f34fe6f3b960bb10e8cf234e
    Added Reference https://github.com/laurent22/joplin/security/advisories/GHSA-5w3c-wph9-hq92
    Added Reference https://joplinapp.org/help/dev/spec/note_viewer_isolation
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-24028 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-24028 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability