4.4medium
Joplin: Stored XSS in public share viewer via javascript: URL bypass in isAcceptedUrl
- Severity
- 4.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 15% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| laurent22 joplin | < 3.7.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46650 changed 2026-09-29 | CVE Terms of Use |
| NVD | CVE-2026-46650 changed 2026-09-29 | Public domain |