mxgraph@3.7.5 vulnerabilities

mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

Direct Vulnerabilities

Known vulnerabilities in the mxgraph package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

mxgraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the setTooltips() function, due to improper user-input sanitization.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for mxgraph.

*
  • H
Cross-site Scripting (XSS)

mxgraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Improper input sanitization of a color field leads to XSS. This is associated with javascript/examples/grapheditor/www/js/Dialogs.js.

How to fix Cross-site Scripting (XSS)?

Upgrade mxgraph to version 4.0.0 or higher.

<4.0.0
  • H
XML External Entity (XXE) Injection

mxgraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection. The SAXParserFactory instance in convert() is missing flags to prevent it.

How to fix XML External Entity (XXE) Injection?

Upgrade mxgraph to version 3.7.6 or higher.

<3.7.6