GitHub Advisoryadvisory · npm

GHSA-wvpv-8524-wg6x mxGraph vulnerable to XXE attacks

CRITICAL Published 2022-05-14 Modified 2023-10-19 Official page ↗
Aliases
CVE-2017-18197
Ecosystem
npm
Packages
mxgraph
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-611
Reviewed
2023-10-19

Affected packages

• npm mxgraph: < 3.7.6 → fixed in 3.7.6

Description

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

Related

Alias · CVE (1)

  • CVE-2017-18197 In mxGraphViewImageReader.java in mxGraph before 3.7.6, the SAXParserFactory instance in convert() is missing flags to prevent XML External… vulnerability

Weakness · CWE (1)

  • CWE-611 Improper Restriction of XML External Entity Reference weakness

References