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.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
1.0.0 (semver) before 1.1.1
Credits
Łukasz Jaworski (Pentest Limited)
Tomasz Holeksa (Pentest Limited)
References
cert.pl/en/posts/2026/05/CVE-2026-7182
docs.dhtmlx.com/diagram/whats_new/
dhtmlx.com/docs/products/dhtmlxDiagram/