Vulnerabilities / CVE-2017-18197

critical

CVE-2017-18197

jgraphx: XML External Entity (XXE) vulnerability in mxGraphViewImageReader.java:convert()

Published Modified CWE 611
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.8CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npmmxgraph3.7.6
debian 11libjgraphx-java2.1.0.7-2
debian 12libjgraphx-java2.1.0.7-2
debian 13libjgraphx-java2.1.0.7-2
debian 14libjgraphx-java2.1.0.7-2
debian 7libjgraphx-java1.4.1.0-3+deb7u1
debian 8libjgraphx-javano fix listed
debian 9libjgraphx-javano fix listed
echolibjgraphx-java2.1.0.7-2
Red Hatrh-thermostat16-jgraphx, rh-thermostat16-jgraphx-javadocno fix listed
ubuntu 18.04-ESMlibjgraphx-javano fix listed
Show all 12 entries from 11 sources
SourcePackageFixed in
npm::GitHub Security Advisory npmmxgraph3.7.6
debian 11libjgraphx-java2.1.0.7-2
debian 12libjgraphx-java2.1.0.7-2
debian 13libjgraphx-java2.1.0.7-2
debian 14libjgraphx-java2.1.0.7-2
debian 7libjgraphx-java1.4.1.0-3+deb7u1
debian 8libjgraphx-javano fix listed
debian 9libjgraphx-javano fix listed
echolibjgraphx-java2.1.0.7-2
Red Hatrh-thermostat16-jgraphxno fix listed
Red Hatrh-thermostat16-jgraphx-javadocno fix listed
ubuntu 18.04-ESMlibjgraphx-javano fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.