CVE-2025-25187 Details
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 adding note titles to the document using React's `dangerouslySetInnerHTML`, without first escaping HTML entities. Joplin lacks a Content-Security-Policy with a restrictive `script-src`. This allows arbitrary JavaScript execution via inline `onclick`/`onload` event handlers in unsanitized HTML. Additionally, Joplin's main window is created with `nodeIntegration` set to `true`, allowing arbitrary JavaScript execution to result in arbitrary code execution. Anyone who 1) receives notes from unknown sources and 2) uses <kbd>ctrl</kbd>-<kbd>p</kbd> to search is impacted. This issue has been addressed in version 3.1.24 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
A cross-site scripting (XSS) vulnerability has been identified in Joplin Desktop versions through 3.1.23. This issue arises from the application using React's 'dangerouslySetInnerHTML' to insert note titles into the document without properly escaping HTML entities. The absence of a restrictive Content-Security-Policy allows the execution of arbitrary JavaScript via inline event handlers in unsanitized HTML. Furthermore, with 'nodeIntegration' enabled, this arbitrary JavaScript execution can lead to arbitrary code execution. The vulnerability affects users who receive notes from unknown sources and use 'ctrl+p' to search.
Users are advised to upgrade to Joplin version 3.1.24, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| joplin project joplin | < 3.1.24 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 11, 2025 | Initial Analysis | [email protected] |
| Feb 10, 2025 | CVE Modified | CISA-ADP |
| Feb 7, 2025 | New CVE Received | [email protected] |