CVE-2023-2318
published high CVSS 3.1 · 8.6MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution
Package status and fixes
Description
DOM-based XSS in src/muya/lib/contentState/pasteCtrl.js in MarkText 0.17.1 and before on Windows, Linux and macOS allows arbitrary JavaScript code to run in the context of MarkText main window. This vulnerability can be exploited if a user copies text from a malicious webpage and paste it into MarkText.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- STAR_Labs · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MarkText | MarkText | 0 through 0.17.1 (affected · git)Default: unaffected | STAR_Labs · cna |
| marktext | marktext | 0 through 0.17.1 (affected · git)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
3STAR_Labs · cna
MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8f33d1471ee061f3747b7de26fd6383a0301170c04ab532fdfab29c0bb821fd2
- Ingested
- 23 Sep 2026, 08:08:06 UTC
- Source record
- Official CVE record