MarkText WSH JScript code injection
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | MarkText | 0.17.0; 0.17.1 | — | No fix listed | CNA |
- MarkText Vendor— Affected 0.17.0; 0.17.1 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-1004
- 2026-10-03 Alias added: GHSA-7p66-mwq8-x35w
References
More Marktext vulnerabilities
- 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
- CVE-2023-1004 · CVE Program
- CVE-2023-1004 · NVD
- FIRST EPSS
- GHSA-7p66-mwq8-x35w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences