CVE-2022-3873 Cross-site Scripting (XSS) - DOM in jgraph/drawio

Medium 6.5 Published Updated

An attacker can execute arbitrary JavaScript in the victim's browser via DOM-based XSS in the drawio diagramming tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-3873?

CVE-2022-3873 is a medium-severity cross-site scripting vulnerability in jgraph/drawio, published on 7 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-79

Which versions are affected by CVE-2022-3873?

It affects 1 product.

Products include Diagrams Drawio.

How do I fix CVE-2022-3873?

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

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

Sources

Also known as GHSA-whmf-vjx7-5wmv, UBUNTU-CVE-2022-3873.

Is CVE-2022-3873 in your software?

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

Check your SBOMs for free