Language: JavaScript
Label: vulnerable
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:
T)this.editPlantUmlData(O,N,T);else if(T=this.graph.getAttributeForCell(O,"mermaidData"),null!=T)this.editMermaidData(O,N,T);else{var m=g.getCellStyle(O);"1"==mxUtils.getValue(m,"metaEdit","0")?d.showDataDialog(O):n.apply(this,arguments)}}catch(B){d.handleError(B)}};g.getLinkTitle=function(O){return d.getLinkTitle(O)};g.customLinkClicked=function(O){var N=!1;try{d.handleCustomLink(O),N=!0}catch(T){d.handleError(T)}return N};var t=g.parseBackgroundImage;g.parseBackgroundImage=function(O){var N=t.apply(this,