Read the docs
TI-2023-00951 Aliases CVE-2023-1004GHSA-7p66-mwq8-x35w

MarkText WSH JScript code injection

Priority HIGH 67CWE-94Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-94.

Summary

A vulnerability has been found in MarkText up to 0.17.1 on Windows and classified as critical. Affected by this vulnerability is an unknown functionality of the component WSH JScript Handler. The manipulation leads to code injection. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. The identifier VDB-221737 was assigned to this vulnerability.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00376 31st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—MarkText0.17.0; 0.17.1—No fix listedCNA
  • MarkText Vendor— Affected 0.17.0; 0.17.1 Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*up to 0.17.1VulnerableMarkText
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
  • cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:* Versions up to 0.17.1 Vulnerable ·MarkText
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-1004
  2. 2026-10-03 Alias added: GHSA-7p66-mwq8-x35w

References

  • TI-2023-02174 MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution CVSS 3.1CRITICAL 9.6
  • TI-2021-10612 Mark Text through 0.16.3 allows attackers arbitrary command execution. CVSS 3.1CRITICAL 9.6
  • TI-2022-08820 Mark Text v0.16.3 was discovered to contain a DOM-based cross-site scripting (XSS)… CVSS 3.1CRITICAL 9.6
  • TI-2020-16518 Mutation XSS exists in Mark Text through 0.16.2 that leads to Remote Code Execution. CVSS 3.1CRITICAL 9.6
  • TI-2022-08068 MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. CVSS 3.1CRITICAL 9.0
  • TI-2022-05560 Cross-site scripting in MarkText CVSS 3.1MEDIUM 5.4

Sources