Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2023-37898
Analyzed
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-21 Jun, 2024 | 20:15
Updated At-11 Apr, 2025 | 17:19

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.18.2HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Primary3.15.4MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 8.2
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
Type: Primary
Version: 3.1
Base score: 5.4
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CPE Matches

joplin_project
joplin_project
>>joplin>>Versions before 2.12.9(exclusive)
cpe:2.3:a:joplin_project:joplin:*:*:*:*:*:-:*:*
Weaknesses
CWE IDTypeSource
CWE-79Secondarysecurity-advisories@github.com
CWE-79Primarynvd@nist.gov
CWE ID: CWE-79
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-79
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandboxsecurity-advisories@github.com
Technical Description
https://github.com/laurent22/joplin/security/advisories/GHSA-hjmq-3qh4-g2r8security-advisories@github.com
Exploit
Vendor Advisory
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandboxaf854a3a-2127-422b-91ae-364da2661108
Technical Description
https://github.com/laurent22/joplin/security/advisories/GHSA-hjmq-3qh4-g2r8af854a3a-2127-422b-91ae-364da2661108
Exploit
Vendor Advisory
Hyperlink: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox
Source: security-advisories@github.com
Resource:
Technical Description
Hyperlink: https://github.com/laurent22/joplin/security/advisories/GHSA-hjmq-3qh4-g2r8
Source: security-advisories@github.com
Resource:
Exploit
Vendor Advisory
Hyperlink: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Technical Description
Hyperlink: https://github.com/laurent22/joplin/security/advisories/GHSA-hjmq-3qh4-g2r8
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Exploit
Vendor Advisory
Change History
0Changes found

Details not found