Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess export API endpoint
-
DeliveryCraft diagram with file:// src payload
-
ExploitSubmit to export module
-
InstallServer resolves local filesystem path
-
C2PDF generated with embedded file contents
-
ExecuteAttacker downloads PDF
-
ImpactExtract sensitive server files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to expose DHTMLX Diagram's server-side export functionality to untrusted users. The vulnerability is exploitable when the export module processes diagram data containing HTML elements with src attributes pointing to local filesystem paths, specifically when PDF generation features are enabled and accessible. Attack succeeds against default configurations of the export module in affected versions (pre-1.1.1) without requiring special configuration changes. No authentication is required (CVSS PR:N) and no user interaction beyond the attacker's API call is necessary (UI:N). Applications using only client-side Diagram rendering without server-side export are NOT vulnerable. The primary limiting factor is organizational architecture: services that do not expose the export endpoint to external networks or unauthenticated users face reduced risk despite running vulnerable code. |
| Impact | This represents a high-severity information disclosure risk with straightforward exploitation. The CVSS 4.0 vector confirms remote network exploitation (AV:N) with low attack complexity (AC:L) and no authentication (PR:N) or user interaction (UI:N) required, making it trivially exploitable against exposed instances. Both vulnerable system confidentiality (VC:H) and subsequent system confidentiality (SC:H) are rated high, indicating significant information leakage beyond the immediate vulnerable component. However, the lack of integrity or availability impact (VI:N, VA:N) limits severity to information disclosure only. No KEV listing exists and no public exploit code was identified at time of analysis, suggesting exploitation has not become widespread despite the low complexity. CERT-PL's public disclosure and vendor patch availability mean defenders can act before mass exploitation. The primary risk is to applications exposing DHTMLX Diagram's export functionality to untrusted users, particularly SaaS platforms or internal tools with sensitive configuration files on the server. Organizations not using the export module or running Diagram client-side only face minimal risk. |
| Exploit ScenarioDerived | An attacker identifies a web application using DHTMLX Diagram's export feature and crafts a malicious diagram payload with an embedded HTML image element like <img src="file:///etc/passwd"> or <img src="/app/config/database.yml">. They submit this payload to the export endpoint without authentication. The server-side export module processes the diagram, resolves the local file path, and embeds the file contents into the generated PDF which is returned to the attacker. The attacker now possesses sensitive server configuration files, database credentials, API keys, or other high-value information from the server filesystem. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 15, 2026
Path traversal in DHTMLX Diagram's export module allows remote unauthenticated attackers to exfiltrate local server files through crafted HTML payloads in the src attribute. The vulnerability exposes high-value server-side information (CVSS VC:H, SC:H) by embedding local files into generated PDFs without requiring authentication (PR:N) or user interaction (UI:N). DHTMLX released a fix in version 1.1.1, confirmed by CERT-PL advisory and vendor changelog.
RemediationAI
Upgrade to DHTMLX Diagram version 1.1.1 or later, which includes the vendor-released fix confirmed in the changelog at https://docs.dhtmlx.com/diagram/whats_new/#version-612. Organizations unable to immediately upgrade should implement compensating controls: disable the export module entirely if PDF generation is not business-critical (eliminates attack surface but removes functionality), restrict export functionality to authenticated users only with rate limiting (reduces exposure but does not prevent exploitation by authenticated attackers), or deploy input validation that blocks file:// protocol handlers and absolute filesystem paths in all user-supplied HTML attributes before passing data to the export module (requires custom validation logic and may break legitimate use cases if diagrams reference external resources). For defense in depth, run the export service in a restricted container or sandbox with minimal filesystem access limited to explicitly required directories (reduces blast radius but adds operational complexity and may impact performance). Review server logs for suspicious export requests containing file paths or file:// schemes to detect potential exploitation attempts during the vulnerability window.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DHTMLX Diagram is a JavaScript diagramming library (cpe:2.3:a:dhtmlx:diagram) that includes server-side PDF export functionality. The vulnerability exists in the export module's HTML processing where user-supplied src attributes are not sanitized before server-side rendering. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) flaw. When the export module processes diagram data containing HTML elements with file:// or absolute path references in src attributes, it resolves these paths on the server filesystem rather than treating them as untrusted content. The rendered PDF then embeds the contents of these local files, effectively weaponizing the PDF generation feature as a file disclosure vector. This affects server-side JavaScript environments (likely Node.js) where the Diagram library's export functionality runs with filesystem access privileges.
Know when Diagram gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Primary rating from Vendor (CERT-PL) · only source for this CVE.
CVSS VectorVendor: CERT-PL
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
DHTMLX Diagram versions prior to 1.1.1 contain a critical path traversal vulnerability in the export module that allows unauthenticated attackers to extract sensitive server files and embed them into generated PDFs without user interaction. This directly exposes confidential data such as configuration files, credentials, and application source code stored on affected servers. Organizations using DHTMLX Diagram for document generation face immediate risk of data breach and compliance violations.
Vendor-released patch: DHTMLX Diagram version 1.1.1 or later. If immediate patching is not feasible, disable the export module entirely and restrict network access to DHTMLX Diagram instances using firewall rules until patch deployment is confirmed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-30539
GHSA-hr7c-pw36-w99g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB