Description
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.
Remediation
References
https://github.com/jgraph/mxgraph/commit/76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence/version-history
https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2019-032.txt
Related Vulnerabilities
CVE-2019-10759 Vulnerability in maven package org.webjars.npm:safer-eval
CVE-2021-36374 Vulnerability in maven package org.apache.ant:ant
CVE-2021-45457 Vulnerability in maven package org.apache.kylin:kylin-server
CVE-2013-2035 Vulnerability in maven package org.fusesource.hawtjni:hawtjni-runtime
CVE-2019-12418 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core