Description
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.
Published: 2026-08-31
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting (XSS) via Mermaid rendering
Action: Assess Impact
AI Analysis

Impact

A vulnerability in Typora’s Mermaid rendering engine allows an unauthenticated attacker to craft malicious classDef/style arguments that are evaluated as JavaScript, leading to arbitrary script execution in the user’s environment. The flaw is a classic cross‑site scripting vulnerability, formally identified as CWE-79, and it also involves code execution within the host process, matching CWE-94. An affected user can trigger the payload by opening a specially crafted file or document containing the malicious Mermaid notation, thereby compromising confidentiality, integrity, and availability of their data.

Affected Systems

Typora Desktop Editor versions up to 1.13.8 and 1.14.6 are affected. The vendor is Typora, and the known vulnerable component is the Mermaid rendering engine embedded in the editor. Users running any of these releases on Windows, macOS, or Linux are at risk unless the application is updated.

Risk and Exploitability

The CVSS vector indicates a moderate severity of 5.3. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. The flaw can be exploited remotely via a malicious file or document, and the exploit has already been made public. Although the attack surface is limited to compromised or untrusted files, compromised users may execute arbitrary scripts in the context of the editor, potentially leading to the disclosure or manipulation of local documents and system resources.

Generated by OpenCVE AI on August 31, 2026 at 17:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Typora to version 1.14.8 or later to receive the fix for the Mermaid rendering flaw.
  • If an upgrade cannot be performed immediately, disable the Mermaid rendering feature or remove Mermaid files from the editor’s workspace.
  • Restrict access to documents from untrusted sources and avoid opening suspicious files until a patch is applied.

Generated by OpenCVE AI on August 31, 2026 at 17:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 31 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Typora Mermaid Rendering cross site scripting
First Time appeared Typora
Typora typora
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:*
Vendors & Products Typora
Typora typora
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-31T16:09:12.808Z

Reserved: 2026-08-31T04:29:30.694Z

Link: CVE-2026-82805

cve-icon Vulnrichment

Updated: 2026-08-31T16:08:51.651Z

cve-icon NVD

Status : Deferred

Published: 2026-08-31T16:19:19.687

Modified: 2026-08-31T20:56:08.800

Link: CVE-2026-82805

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T17:45:02Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')