CVE-2026-82805 Typora Mermaid Rendering cross site scripting

Medium 5.3 Published Updated

Attackers can execute arbitrary scripts via crafted Mermaid diagrams in Typora, potentially compromising user sessions or data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-82805?

CVE-2026-82805 is a medium-severity cross-site scripting vulnerability in Typora, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-82805?

How do I fix CVE-2026-82805?

No fix has been published for CVE-2026-82805 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-82805 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82805 exists.

Sources

Also known as GHSA-m8rm-322m-r9gv.

Is CVE-2026-82805 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free