Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-37898— Safe mode Cross-site Scripting (XSS) vulnerability in Joplin

CVSS 8.2 · High EPSS 0.51% · P66
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-37898

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Safe mode Cross-site Scripting (XSS) vulnerability in Joplin
Source: NVD (National Vulnerability Database)
Vulnerability Description
Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows an untrusted note opened in safe mode to execute arbitrary code. `packages/renderer/MarkupToHtml.ts` renders note content in safe mode by surrounding it with <pre> and </pre>, without escaping any interior HTML tags. Thus, an attacker can create a note that closes the opening <pre> tag, then includes HTML that runs JavaScript. Because the rendered markdown iframe has the same origin as the toplevel document and is not sandboxed, any scripts running in the preview iframe can access the top variable and, thus, access the toplevel NodeJS `require` function. `require` can then be used to import modules like fs or child_process and run arbitrary commands. This issue has been addressed in version 2.12.9 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Joplin 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Joplin是一款开源的笔记和待办事项应用程序。 Joplin 2.12.8版本及之前版本存在安全漏洞。攻击者利用该漏洞可以运行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
laurent22joplin < 2.12.9 -

II. Public POCs for CVE-2023-37898

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-37898

登录查看更多情报信息。

Same Patch Batch · laurent22 · 2024-06-21 · 4 CVEs total

CVE-2023-456738.9 HIGHArbitrary code execution on click of PDF links in Joplin
CVE-2023-395178.2 HIGHCross site scripting (XSS) when clicking on an untrusted `<map>` link in Joplin
CVE-2023-385068.2 HIGHCross-site Scripting (XSS) when pasting HTML into the rich text editor in Joplin

IV. Related Vulnerabilities

V. Comments for CVE-2023-37898

No comments yet


Leave a comment