Skip to main content

DHTMLX Diagram CVE-2026-7182

| EUVDEUVD-2026-30539 CRITICAL
Path Traversal (CWE-22)
2026-05-15 CERT-PL GHSA-hr7c-pw36-w99g
9.2
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Access export API endpoint
  2. Delivery
    Craft diagram with file:// src payload
  3. Exploit
    Submit to export module
  4. Install
    Server resolves local filesystem path
  5. C2
    PDF generated with embedded file contents
  6. Execute
    Attacker downloads PDF
  7. Impact
    Extract 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Diagram 1.0.0 <1.1.1

Affected Packages

euvd diagram fix: 1.1.1

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

Vendor (CERT-PL) PRIMARY 9.2 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 15, 2026 - 14:02 EUVD
CVSS changed
May 15, 2026 - 13:22 NVD
9.2 (CRITICAL)
CVE Published
May 15, 2026 - 12:31 nvd
CRITICAL 9.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 70% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy