CVE-2022-3127 Cross-site Scripting (XSS) - Stored in jgraph/drawio

Medium 5.5 Published Updated

Stored Cross-Site Scripting in drawio allows attackers to inject malicious scripts, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-3127?

CVE-2022-3127 is a medium-severity cross-site scripting vulnerability in jgraph/drawio, published on 5 Sep 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Cross-site Scripting (XSS) - Stored in GitHub repository jgraph/drawio prior to 20.2.8.

Weakness: CWE-79

Which versions are affected by CVE-2022-3127?

It affects 1 product.

Products include Diagrams Drawio.

How do I fix CVE-2022-3127?

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

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

Sources

Also known as GHSA-r26w-7ccx-35wx.

Is CVE-2022-3127 in your software?

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

Check your SBOMs for free