CVE-2025-25187
NixOS vulnerability analysis and mitigation

Overview

Joplin, a free and open source note taking application, was found to contain a cross-site scripting (XSS) vulnerability (CVE-2025-25187) that allows arbitrary code execution. The vulnerability was discovered in versions 3.1.23 and earlier, and has been patched in version 3.1.24. The issue stems from note titles being added to the document using React's dangerouslySetInnerHTML without proper HTML entity escaping, combined with a lack of restrictive Content-Security-Policy for script-src (GitHub Advisory).

Technical details

The vulnerability exists due to multiple security issues working together: 1) Note titles are added using React's dangerouslySetInnerHTML without HTML entity escaping, 2) The application lacks a Content-Security-Policy with a restrictive script-src, allowing arbitrary JavaScript execution via inline event handlers, and 3) The main window is created with nodeIntegration set to true. The vulnerability has been present since at least March 2020. The issue has been assigned a CVSS v3.1 score of 7.8 (High) with vector: AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary shell commands through the ctrl+p search dialog when a user searches for content containing malicious note titles. This affects any user who receives notes from unknown sources and uses the ctrl+p search functionality. The high CVSS score reflects potential impacts on confidentiality, integrity, and availability of the system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Joplin version 3.1.24. All users are advised to upgrade to this version or later. There are no known workarounds for this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61804HIGH7.8
  • NixOSNixOS
  • animate
NoYesOct 15, 2025
CVE-2025-54279HIGH7.8
  • NixOSNixOS
  • animate
NoYesOct 15, 2025
CVE-2025-54196MEDIUM6.1
  • NixOSNixOS
  • connect
NoYesOct 14, 2025
CVE-2025-54270MEDIUM5.5
  • NixOSNixOS
  • animate
NoYesOct 15, 2025
CVE-2025-54269MEDIUM5.5
  • NixOSNixOS
  • animate
NoYesOct 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management