GitHub Advisoryadvisory · npm
GHSA-wvpv-8524-wg6x mxGraph vulnerable to XXE attacks
CRITICAL
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
- https://nvd.nist.gov/vuln/detail/CVE-2017-18197 advisory
- https://github.com/jgraph/mxgraph/issues/124 web
- https://github.com/jgraph/mxgraph/commit/97b3718db64a6ca9afb3382de2926eb8da660052 web
- https://github.com/jgraph/mxgraph package
- https://lists.debian.org/debian-lts-announce/2018/03/msg00002.html web