CVE-2023-3973 Cross-site Scripting (XSS) - Reflected in jgraph/drawio
Attackers can execute arbitrary scripts in victims' browsers via reflected XSS in drawio, potentially leading to session hijacking or data theft.
- 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-2023-3973?
CVE-2023-3973 is a critical cross-site scripting vulnerability in jgraph/drawio, published on 27 Jul 2023. 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
Cross-site Scripting (XSS) - Reflected in GitHub repository jgraph/drawio prior to 21.6.3.
Weakness: CWE-79
Which versions are affected by CVE-2023-3973?
It affects 1 product.
Products include Diagrams Drawio.
How do I fix CVE-2023-3973?
No fix has been published for CVE-2023-3973 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-2023-3973 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3973 exists.
Other vulnerabilities in jgraph/drawio
Sources
Also known as GHSA-jgm3-jg5h-p97h.