CVE-2026-82805
Received Received - Intake

Cross-Site Scripting in Typora via Mermaid Rendering

Vulnerability report for CVE-2026-82805, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-31

Last updated on: 2026-08-31

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-31
Last Modified
2026-08-31
Generated
2026-08-31
AI Q&A
2026-08-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
typora typora to 1.14.6 (inc)
typora typora 1.14.8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-82805 is a cross-site scripting (XSS) vulnerability in Typora up to versions 1.13.8/1.14.6. It affects the Mermaid Rendering Engine, where malicious input in classDef/style arguments can execute arbitrary JavaScript. The attack is remote and requires user interaction to open a crafted file. Upgrading to version 1.14.8 fixes the issue.

Detection Guidance

Check Typora version with 'typora --version' or inspect installed packages. Look for files containing Mermaid diagrams with suspicious HTML tags like <img onerror=...> or JavaScript events. Monitor network traffic for unexpected outbound connections from Typora processes.

Impact Analysis

This vulnerability allows attackers to execute arbitrary code on your system if you open a specially crafted Markdown file with Typora. It could lead to data theft, system compromise, or further malware installation. The attack works across Windows, Linux, and macOS without additional user interaction beyond opening the file.

Mitigation Strategies

Upgrade Typora to version 1.14.8 or later immediately. Disable Mermaid rendering if not needed. Set Mermaid securityLevel to 'strict' in configuration. Avoid opening untrusted Markdown files with Mermaid diagrams.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-82805. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart