mxGraph vulnerable to XXE attacks
Date: 2022-05
Affected: npm/mxgraph
Attack vector: other
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2017-18197
CWE: CWE-611
CVSS: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

In `mxGraphViewImageReader.java` in mxGraph before 3.7.6, the `SAXParserFactory` instance in `convert()` is missing flags to prevent XML External Entity (XXE) attacks, as demonstrated by `/ServerView`.


Mitigations:

Architectural layers (MAESTRO):