CVE-2021-47844 Xmind 2020 - Persistent Cross-Site Scripting

Medium 5.1 Published Updated

Attackers can execute arbitrary system commands by tricking users into opening malicious mind map files containing injected JavaScript payloads.

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

What is CVE-2021-47844?

CVE-2021-47844 is a medium-severity cross-site scripting vulnerability in Xmind, published on 16 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Xmind 2020 contains a cross-site scripting vulnerability that allows attackers to inject malicious payloads into mind mapping files or custom headers. Attackers can craft malicious files with embedded JavaScript that execute system commands when opened, enabling remote code execution through mouse interactions or file opening.

Weakness: CWE-79

Which versions are affected by CVE-2021-47844?

How do I fix CVE-2021-47844?

No fix has been published for CVE-2021-47844 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-2021-47844 being exploited?

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

Sources

Also known as GHSA-xx2w-hg3f-6w9g.

Is CVE-2021-47844 in your software?

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

Check your SBOMs for free