CVE-2022-1575 Arbitrary Code Execution through Sanitizer Bypass in jgraph/drawio

Critical 9.6 Published Updated

Attackers can execute arbitrary code in the desktop app or inject stored XSS in the web app via a sanitizer bypass.

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-2022-1575?

CVE-2022-1575 is a critical cross-site scripting vulnerability in jgraph/drawio, published on 5 May 2022. 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

Arbitrary Code Execution through Sanitizer Bypass in GitHub repository jgraph/drawio prior to 18.0.0. - Arbitrary (remote) code execution in the desktop app. - Stored XSS in the web app.

Weakness: CWE-79, CWE-94

Which versions are affected by CVE-2022-1575?

It affects 1 product.

Products include Diagrams Drawio.

How do I fix CVE-2022-1575?

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

There is no known exploitation of CVE-2022-1575 in the wild and no public exploit code.

Sources

Also known as GHSA-h3vj-c927-89ww.

Is CVE-2022-1575 in your software?

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

Check your SBOMs for free