CVE-2026-7182 Path Traversal in Diagram
An unauthenticated attacker can exploit a path traversal flaw in the export module to read local server files via crafted HTML payloads.
- 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-2026-7182?
CVE-2026-7182 is a critical path traversal vulnerability in DHTMLX Diagram, published on 15 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Diagram's export module is vulnerable to Path Traversal in src attribute due to lack of HTML sanitization. An unauthenticated user could craft the html payload which could include local files from the server and display them in the generated pdf.
This issue was fixed in version 1.1.1.
Weakness: CWE-22
Which versions are affected by CVE-2026-7182?
How do I fix CVE-2026-7182?
No fix has been published for CVE-2026-7182 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-7182 being exploited?
There is no known exploitation of CVE-2026-7182 in the wild and no public exploit code.
Sources
Also known as GHSA-hr7c-pw36-w99g.