← all CVEs

CVE-2026-46650

Joplin: Stored XSS in public share viewer via javascript: URL bypass in isAcceptedUrl

Published 21 Sep 2026Updated 21 Sep 2026

Severity: MEDIUM

4.4

CVSS Base Score

Description

Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. Prior to 3.7.2, isAcceptedUrl() in packages/renderer/htmlUtils.ts uses an unanchored regular expression for internal resource URLs, allowing a javascript: URL containing a matching 32-character path fragment to pass validation and be emitted into an HTML note's link. A low-privileged Joplin Server user can publish the crafted HTML note as a public share. In the current build, ordinary left-click is blocked; demonstrated execution requires middle-click or Open in new tab in an older or non-hardened browser because current Chrome and Firefox block javascript: new-tab navigation. When execution succeeds, the script runs in the Joplin Server origin, can read page-visible content, and can make authenticated same-origin requests when the victim is signed in. This issue is fixed in version 3.7.2.

Affected products (1)

  • laurent22 joplin

Problem types

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Get alerted the moment a CVE like this matches your stack.

Create a free account