The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-2317

CVE-2023-2317: Typora DOM-based XSS Vulnerability

CVE-2023-2317 is a DOM-based XSS flaw in Typora that allows malicious markdown files to execute arbitrary JavaScript in the application context. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-2317 Overview

CVE-2023-2317 is a DOM-based Cross-Site Scripting (XSS) vulnerability affecting Typora, a popular markdown editor for Windows and Linux platforms. The vulnerability exists in the updater/update.html component and allows attackers to execute arbitrary JavaScript code within the context of the Typora main window. Exploitation occurs when a user opens a malicious markdown file or pastes text from a compromised webpage into Typora.

Critical Impact

This vulnerability enables arbitrary JavaScript execution in the Typora main window context, potentially allowing attackers to access sensitive user data, execute system commands, or perform actions on behalf of the user through specially crafted markdown files.

Affected Products

  • Typora versions prior to 1.6.7 on Windows
  • Typora versions prior to 1.6.7 on Linux
  • Microsoft Windows (as host operating system)
  • Linux Kernel (as host operating system)

Discovery Timeline

  • 2023-08-19 - CVE-2023-2317 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-2317

Vulnerability Analysis

This DOM-based XSS vulnerability exploits improper input validation in Typora's updater component. The typora://app/typemark/updater/update.html internal URL can be loaded within an <embed> tag in markdown content, creating a pathway for JavaScript injection. Since Typora renders markdown with web technologies, the application inherits web-based attack vectors while operating with elevated desktop application privileges.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which encompasses cross-site scripting flaws. The scope change in the vulnerability assessment indicates that successful exploitation can impact resources beyond the vulnerable component's security authority.

Root Cause

The root cause stems from insufficient sanitization of the internal typora:// protocol handler when processing embedded content. The update.html page within the updater module does not properly validate or sanitize input from the DOM, allowing attacker-controlled data to be interpreted as executable JavaScript. This architectural weakness allows markdown content to escape its intended rendering context and execute code within Typora's privileged application window.

Attack Vector

The attack vector is network-based but requires user interaction. An attacker can exploit this vulnerability through two primary methods:

  1. Malicious Markdown File: An attacker crafts a markdown file containing an <embed> tag that loads the vulnerable typora://app/typemark/updater/update.html URL with injected JavaScript payload. When a victim opens this file in Typora, the malicious code executes.

  2. Clipboard Poisoning: An attacker hosts malicious content on a webpage. When users copy text from this webpage and paste it into Typora, the embedded payload triggers JavaScript execution in Typora's main window context.

The vulnerability leverages Typora's internal URL scheme (typora://) to access application resources that should not be accessible from user-provided content, enabling the execution of arbitrary code with the application's privileges.

Detection Methods for CVE-2023-2317

Indicators of Compromise

  • Presence of markdown files containing <embed> tags referencing typora://app/typemark/updater/update.html
  • Unexpected JavaScript execution or application behavior when opening markdown files
  • Typora process spawning unexpected child processes or network connections
  • Suspicious clipboard content containing embedded Typora URL scheme references

Detection Strategies

  • Monitor for markdown files containing typora:// protocol references in embedded content
  • Implement endpoint detection rules for Typora processes exhibiting anomalous behavior
  • Deploy file scanning rules to identify markdown content with suspicious <embed> or <iframe> tags
  • Use SentinelOne's behavioral AI to detect unusual code execution patterns from Typora processes

Monitoring Recommendations

  • Enable logging for Typora application activity on endpoints
  • Monitor network traffic for suspicious downloads of markdown files from untrusted sources
  • Implement browser extension or web filtering to warn users about potentially malicious markdown downloads
  • Use SentinelOne Singularity platform to track process behavior and detect exploitation attempts

How to Mitigate CVE-2023-2317

Immediate Actions Required

  • Upgrade Typora to version 1.6.7 or later immediately on all Windows and Linux systems
  • Avoid opening markdown files from untrusted sources until patched
  • Do not copy and paste content from untrusted websites into Typora
  • Review recently opened markdown files for suspicious embedded content

Patch Information

Typora has addressed this vulnerability in version 1.6.7. Users should update to this version or later to remediate the security issue. The fix implements proper sanitization of internal URL handlers and prevents the loading of sensitive application resources through embedded content.

For detailed patch information, refer to the Typora v1.6 Release Notes and the StarLabs Security Advisory.

Workarounds

  • Temporarily disable Typora usage on critical systems until the patch can be applied
  • Implement application whitelisting to control Typora's ability to execute scripts
  • Use alternative markdown editors that do not exhibit this vulnerability for processing untrusted content
  • Deploy endpoint protection with SentinelOne to detect and block exploitation attempts
  • Educate users about the risks of opening markdown files from unknown sources
bash
# Verify Typora version on Linux
typora --version

# On Windows, check version via Help > About menu
# Ensure version is 1.6.7 or higher

# Consider blocking typora:// protocol in enterprise environments
# until all systems are patched

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechTypora

  • SeverityCRITICAL

  • CVSS Score9.6

  • EPSS Probability49.28%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Vendor Resources
  • StarLabs Security Advisory

  • Typora v1.6 New Features
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English