Every CVESearch/Get API key

CVE-2017-18197

mxGraph vulnerable to XXE attacks

9.8 CriticalFix available

CVE-2017-18197 is a critical vulnerability (CVSS 9.8) in Jgraph Mxgraph, published February 24, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.90%, the 87th percentile. Fixed in mxgraph 3.7.6.

What does this mean?
Severity
9.8 CriticalCVSS 3.0, NVD
Exploit chance
2.90%EPSS, 87th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
3.7.6mxgraph +7 more

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.90%Up 2.3 points since Apr 14, 2021
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mxgraph
npm
before 3.7.6
3.7.6
libjgraphx-java
Debian:12
before 2.1.0.7-2
2.1.0.7-2
libjgraphx-java
Debian:13
before 2.1.0.7-2
2.1.0.7-2
libjgraphx-java
Debian:14
before 2.1.0.7-2
2.1.0.7-2
libjgraphx-java
Debian:7
before 1.4.1.0-3+deb7u1, plus listed versions
1.4.1.0-3
1.4.1.0-3+deb7u1
libjgraphx-java
Ubuntu:Pro:16.04:LTS
before 2.1.0.7-1ubuntu0.16.04.1~esm1, plus listed versions
2.1.0.7-1
2.1.0.7-1ubuntu0.16.04.1~esm1
libjgraphx-java
Ubuntu:Pro:18.04:LTS
before 2.1.0.7-1ubuntu0.18.04.1~esm1, plus listed versions
2.1.0.7-1
2.1.0.7-1ubuntu0.18.04.1~esm1
jgraphx
openSUSE:Tumbleweed
before 3.9.2-1.9
3.9.2-1.9

What each source reports

NVD Score used9.8

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.

Record
CVE-2017-18197
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-611
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2017-18197
Updated
2026-11-02
EUVDEUVD-2022-5647No score

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.

Record
EUVD-2022-5647
Updated
2026-11-03
GitHub AdvisoriesGHSA-wvpv-8524-wg6x9.8

mxGraph vulnerable to XXE attacks

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.

Record
GHSA-wvpv-8524-wg6x
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-611
Updated
2026-11-02
OSV9.8

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.

Record
CVE-2017-18197
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-181979.8

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.

Record
DEBIAN-CVE-2017-18197
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-wvpv-8524-wg6x9.8

mxGraph vulnerable to XXE attacks

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.

Record
GHSA-wvpv-8524-wg6x
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-611
Updated
2026-11-02
OSVUBUNTU-CVE-2017-181979.8

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.

Record
UBUNTU-CVE-2017-18197
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-13
OSVopenSUSE-SU-2024:10879-1No score

jgraphx-3.9.2-1.9 on GA media

These are all security issues fixed in the jgraphx-3.9.2-1.9 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10879-1
Updated
2026-11-02
OSVUSN-9074-1No score

libjgraphx-java vulnerability

It was discovered that JGraphX did not disable XML external entity processing when converting certain XML input to images. An attacker could possibly use this issue to obtain sensitive information or cause a denial of service.

Record
USN-9074-1
Updated
2026-11-13

History

History
RecordedChangedSources
affected, aliasesOSV
affected, referencesOSV
facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 5 moreShow less
MoveEnter Open