Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
g)this.editPlantUmlData(L,U,g);else if(g=this.graph.getAttributeForCell(L,"mermaidData"),null!=g)this.editMermaidData(L,U,g);else{var y=e.getCellStyle(L);"1"==mxUtils.getValue(y,"metaEdit","0")?c.showDataDialog(L):k.apply(this,arguments)}}catch(H){c.handleError(H)}};e.getLinkTitle=function(L){return c.getLinkTitle(L)};e.customLinkClicked=function(L){var U=!1;try{c.handleCustomLink(L),U=!0}catch(g){c.handleError(g)}return U};var q=e.parseBackgroundImage;e.parseBackgroundImage=function(L){var U=q.apply(this,
arguments);null!=U&&null!=U.src&&Graph.isPageLink(U.src)&&(U={originalSrc:U.src});return U};var p=e.setBackgroundImage;e.setBackgroundImage=function(L){null!=L&&null!=L.originalSrc&&(L=c.createImageForPageLink(L.originalSrc,c.currentPage,this));p.apply(this,arguments)};this.editor.addListener("pageRenamed",mxUtils.bind(this,function(){e.refreshBackgroundImage()}));this.editor.addListener("pageMoved",mxUtils.bind(this,function(){e.refreshBackgroundImage()}));this.editor.addListener("pagesPatched",