Code execution via permitted JScript file links
Published Feb 24, 2023 · Updated Aug 2, 2024
Code injection in Typora 1.5.0 through 1.5.5 on Windows allows attackers to execute code after a user opens a crafted Markdown file. The dangerous-suffix filter leaves .js links permitted, and Windows Script Host interprets a downloaded payload as executable JScript. Exploitation requires interaction with the malicious document or link and runs the script with the user's privileges.
Summary
What happened
Code injection in Typora 1.5.0 through 1.5.5 on Windows allows attackers to execute code after a user opens a crafted Markdown file. The dangerous-suffix filter leaves .js links permitted, and Windows Script Host interprets a downloaded payload as executable JScript. Exploitation requires interaction with the malicious document or link and runs the script with the user's privileges.
The record
- CVE
- CVE-2023-1003
- Published
- Feb 24, 2023
- Updated
- Aug 2, 2024
- Vendor
- Qiyun (Shanghai) Technology Ltd.
- Product
- Typora
- Classifications
- CWE-94, T1059.007, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 24, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.5.0
- Affected versionversion=1.5.1
- Affected versionversion=1.5.2
- Affected versionversion=1.5.3
- Affected versionversion=1.5.4
- Affected versionversion=1.5.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WSH JScript code-execution proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo