An issue was discovered in mxGraph through 4.0.0 related to the \draw.io Diagrams\ plugin before 8.3.14 for Confluence and other products. Improper input validation/sanitization of a color field leads to XSS. This is associated with javascript/examples/grapheditor/www/js/Dialogs.js.