CVE-2017-18197 mxGraph vulnerable to XXE attacks

Critical 9.8 Published Updated

An attacker can exploit an XML External Entity vulnerability in mxGraph to read sensitive files or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-18197?

CVE-2017-18197 is a critical vulnerability in n/a, published on 24 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-611

Which versions are affected by CVE-2017-18197?

2 open source packages ship an affected version, including mxgraph. It affects 1 product.

PackageAffectedFixed in
mxgraph npmAll versions3.7.6
mxgraph npmAll versions3.7.6
Linux distribution packages (1)
jgraphx openSUSE:TumbleweedAll versions3.9.2-1.9

Products include Jgraph Mxgraph.

How do I fix CVE-2017-18197?

Upgrade mxgraph to 3.7.6 or later.

Is CVE-2017-18197 being exploited?

There is no known exploitation of CVE-2017-18197 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-18197, DLA-1299-1, GHSA-wvpv-8524-wg6x, UBUNTU-CVE-2017-18197, openSUSE-SU-2024:10879-1.

Is CVE-2017-18197 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free