Skip to main content

Typora EUVDEUVD-2026-68614

| CVE-2026-82805 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-08-31 VulDB GHSA-m8rm-322m-r9gv
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Mermaid diagram file
  2. Delivery
    Deliver to victim via social engineering
  3. Exploit
    Victim opens file in vulnerable Typora
  4. Execution
    Mermaid engine processes unsanitized classDef/style
  5. Persist
    JavaScript payload executes in Electron renderer context
  6. Impact
    Attacker achieves client-side code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim is running Typora version 1.13.8 or earlier (stable) or 1.14.6 or earlier (beta/pre-release) and opens or previews a file containing a Mermaid diagram block with attacker-controlled classDef or style argument content. The CVSS UI:P (passive user interaction) means the victim must take the action of opening the file - the attacker cannot trigger rendering without this step. No authentication or account on any shared system is required from the attacker's side (PR:N). Exploitation is constrained by: (1) requiring social engineering to deliver a crafted file, (2) the victim must have Typora installed in a vulnerable version, and (3) Mermaid rendering must be active (which is the default). The attack is not exploitable against remote network services; it is a client-side file-parsing vulnerability.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects the realistic constrained impact: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), but passive user interaction required (UI:P) and limited integrity-only vulnerable-system impact (VI:L, VC:N). The E:P supplemental flag in the provided CVSS 4.0 vector confirms a publicly available proof-of-concept (corroborated by the GitHub reference), which elevates real-world exploitability above theoretical. There is no CISA KEV listing, so mass active exploitation is not confirmed. The combination of a public POC, a socially engineerable delivery mechanism (shared Typora files), and an Electron host environment where XSS may have elevated local privileges makes this a genuine medium-priority issue for organizations where Typora is deployed - not merely an academic CVSS score. CVSS 3.1 equivalent would score slightly higher (~6.1) due to scope-change treatment of XSS in an Electron context.

Exploit ScenarioDerived

An attacker crafts a Typora markdown file containing a Mermaid diagram block with a malicious classDef or style directive embedding a JavaScript payload - for example, injecting an onerror handler or <script> tag within a style value. The attacker distributes this file via email, a file-sharing platform, or a collaborative document, and when the victim opens it in a vulnerable version of Typora, the Mermaid engine renders the diagram and executes the injected script. A public proof-of-concept demonstrating this technique is available at https://github.com/zzk6th/cve/issues/5.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

Cross-site scripting in Typora's embedded Mermaid rendering engine allows remote attackers to inject and execute arbitrary JavaScript by manipulating the classDef or style arguments within Mermaid diagram syntax. Affected versions include all Typora releases up to 1.13.8 and 1.14.6; a publicly available proof-of-concept exploit exists on GitHub. Exploitation requires passive user interaction (opening or previewing a crafted file), and no authentication is needed from the attacker, making social-engineering delivery via shared documents or email a realistic threat vector. No active exploitation is confirmed in CISA KEV at time of analysis.

RemediationAI

Upgrade Typora to version 1.14.8 or later, which is confirmed by the vendor as resolving this issue; the patched release is available at https://typora.io/releases/all and https://typora.io/#download. As a compensating control while upgrade is pending, users should avoid opening or previewing Typora files received from untrusted sources, since exploitation requires the victim to render a crafted Mermaid diagram. If Mermaid rendering is configurable in Typora preferences, disabling it entirely eliminates the attack surface at the cost of losing diagram functionality. There is no indication that network-level blocking can prevent exploitation, as the vulnerability is triggered by file content rather than a network service.

Affected VersionsENISA

Typora 1.14.1
Typora 1.14.6
Typora 1.13.5
Typora 1.14.0
Typora 1.14.2
Typora 1.13.2
Typora 1.14.4
Typora 1.13.6
Typora 1.13.3
Typora 1.13.8
Typora 1.13.7
Typora 1.13.4
Typora 1.13.0
Typora 1.14.3
Typora 1.13.1
Typora 1.14.5

Affected Packages

euvd typora no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Typora is an Electron-based desktop markdown editor that embeds the Mermaid diagramming library to render flowcharts, sequence diagrams, and other graph types inline. Mermaid's classDef and style directives allow users to define CSS styling for diagram nodes; the vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) arises when user-supplied values in these directives are not sanitized before being inserted into the rendered HTML/SVG context. Because Typora runs in an Electron shell, XSS occurring within the renderer process may have access to Node.js APIs or local filesystem resources beyond a typical browser sandbox, depending on Electron's nodeIntegration settings. The CPE string (cpe:2.3:a:n/a:typora:*:*:*:*:*:*:*:*) uses 'n/a' as the vendor field, which is common for independent developers without a registered NVD vendor entry.

Know when Typora gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.1 MEDIUM

Network-delivered XSS via crafted file; user must open file (UI:R); Electron context warrants scope change with low C and I impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 31, 2026 - 16:22 NVD
MEDIUM LOW
CVSS changed
Aug 31, 2026 - 16:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 31, 2026 - 15:45 cve.org
MEDIUM 5.3

DescriptionCVE.org

A vulnerability was found in Typora up to 1.13.8/1.14.6. This vulnerability affects unknown code of the component Mermaid Rendering Engine. The manipulation of the argument classDef/style results in cross site scripting. The attack may be launched remotely. The exploit has been made public and could be used. Upgrading to version 1.14.8 is able to resolve this issue. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular desktop markdown editor among developers, writers, and students
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Typora

View all
CVE-2023-2317 CRITICAL POC
9.6 Aug 19

DOM-based XSS in updater/update.html in Typora before 1.6.7 on Windows and Linux allows a crafted markdown file to run a

CVE-2023-1003 HIGH POC
7.8 Mar 07

A vulnerability, which was classified as critical, was found in Typora up to 1.5.5 on Windows. Rated high severity (CVSS

CVE-2019-12172 HIGH POC
7.8 May 17

Typora 0.9.9.21.1 (1913) allows arbitrary code execution via a modified file: URL syntax in the HREF attribute of an ARE

CVE-2019-12137 HIGH POC
7.8 May 16

Typora 0.9.9.24.6 on macOS allows directory traversal, for execution of arbitrary programs, via a file:/// or ../ substr

CVE-2023-2316 HIGH POC
7.4 Aug 19

Improper path handling in Typora before 1.6.7 on Windows and Linux allows a crafted webpage to access local files and ex

CVE-2024-33300 HIGH POC
7.3 May 01

Typora v1.0.0 through v1.7 version (below) Markdown editor has a cross-site scripting (XSS) vulnerability, which allows

CVE-2023-2971 MEDIUM POC
6.5 Aug 19

Improper path handling in Typora before 1.7.0-dev on Windows and Linux allows a crafted webpage to access local files an

CVE-2022-40011 MEDIUM POC
6.1 Dec 23

Typora through 1.3.8 allows XSS if a document containing an SVG element with an attacker-controlled onload attribute is

CVE-2024-31784 MEDIUM POC
6.1 Apr 16

An issue in Typora v.1.8.10 and before, allows a local attacker to obtain sensitive information and execute arbitrary co

CVE-2024-31783 MEDIUM POC
6.1 Apr 16

Cross Site Scripting (XSS) vulnerability in Typora v.1.6.7 and before, allows a local attacker to obtain sensitive infor

CVE-2023-39703 MEDIUM POC
6.1 Sep 01

A cross site scripting (XSS) vulnerability in the Markdown Editor component of Typora v1.6.7 allows attackers to execute

CVE-2019-7296 MEDIUM POC
6.1 Jan 31

typora through 0.9.64 has XSS, with resultant remote command execution, during inline rendering of a mathematical formul

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy