CVE-2026-49449

Joplin: KaTeX `trust:true` enables URL-allowlist bypass leading to NTLMv2 credential theft via UNC path on Windows

Published Sep 21, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
Description
Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. From 1.4.0 until 3.7.2, packages/renderer/MdToHtml/rules/katex.ts enables KaTeX's trust option for note content, allowing a note author to place a \href URL into rendered output without passing Joplin's normal URL allowlist. On Windows, clicking a link whose target is an attacker-controlled UNC path causes pathExists() to initiate SMB authentication and disclose the current user's NTLMv2 challenge-response without a warning. The unfiltered URL can also invoke other registered URL handlers, but the credential disclosure through KaTeX \href is the distinguishing demonstrated impact. This issue is fixed in version 3.7.2.

Analysis

AI-generated

Technical impact

Joplin's renderer allows any note author to embed an arbitrary URL using KaTeX with the trust option enabled. The \href URL bypasses Joplin's normal URL allowlist, so when a Windows user clicks the link a UNC path triggers an SMB authentication handshake. The handshake exposes the current user's NTLMv2 challenge-response pair without any warning, allowing the attacker to reconstruct the target password hash. The weakness is an Information Exposure (CWE‑200), improper handling of credentials (CWE‑522) and use‑after‑error (CWE‑829).

Affected Systems

The issue affects the Joplin note‑taking application from versions 1.4.0 through 3.7.2, in particular on Windows operating systems where UNC paths are supported. Any user who opens a note created by an attacker could be impacted.

Risk and Exploitability

The CVSS score is 2.5, indicating a low base severity, and the vulnerability was not catalogued in CISA KEV or assigned an EPSS score. Nevertheless, the flaw can be exploited by an attacker who supplies a note with a malicious \href link; when a Windows user clicks that link an SMB challenge is sent to the victim machine, revealing NTLMv2 credentials. The attack requires that the victim be a Windows user who has permissions to open the note, and the attacker must craft or modify the note content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Joplin to version 3.7.2 or later where the KaTeX trust option is disabled for note content.
  • Avoid opening notes or notebooks that originate from untrusted sources to reduce the risk of a malicious UNC link.
  • Configure Windows firewall or Group Policy to block inbound SMB connections from unknown hosts, limiting the ability to complete the authentication handshake.

Generated by OpenCVE AI on September 21, 2026 at 22:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Laurent 22
Laurent 22 joplin
Vendors & Products Laurent 22
Laurent 22 joplin
Type Values Removed Values Added
Description Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. From 1.4.0 until 3.7.2, packages/renderer/MdToHtml/rules/katex.ts enables KaTeX's trust option for note content, allowing a note author to place a \href URL into rendered output without passing Joplin's normal URL allowlist. On Windows, clicking a link whose target is an attacker-controlled UNC path causes pathExists() to initiate SMB authentication and disclose the current user's NTLMv2 challenge-response without a warning. The unfiltered URL can also invoke other registered URL handlers, but the credential disclosure through KaTeX \href is the distinguishing demonstrated impact. This issue is fixed in version 3.7.2.
Title Joplin: KaTeX `trust:true` enables URL-allowlist bypass leading to NTLMv2 credential theft via UNC path on Windows
Weaknesses CWE-200
CWE-522
CWE-829
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-522

    Insufficiently Protected Credentials

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 8:15 PM
Reserved
May 30, 2026, 2:43 AM
Status
Deferred
Published
Sep 21, 2026, 9:17 PM
Modified
Sep 28, 2026, 9:17 PM