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:
null!=l)this.editMermaidData(P,V,l);else{var B=f.getCellStyle(P);"1"==mxUtils.getValue(B,"metaEdit","0")?d.showDataDialog(P):k.apply(this,arguments)}}catch(N){d.handleError(N)}};f.getLinkTitle=function(P){return d.getLinkTitle(P)};f.customLinkClicked=function(P){var V=!1;try{d.handleCustomLink(P),V=!0}catch(l){d.handleError(l)}return V};var v=f.parseBackgroundImage;f.parseBackgroundImage=function(P){var V=v.apply(this,arguments);null!=V&&null!=V.src&&Graph.isPageLink(V.src)&&(V={originalSrc:V.src});