CVE-2026-82805

Typora Mermaid Rendering cross site scripting

Published Aug 31, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 31, 2026, 4:09 PM
Reserved
Aug 31, 2026, 4:29 AM
Status
Deferred
Published
Aug 31, 2026, 4:19 PM
Modified
Aug 31, 2026, 8:56 PM