Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
!1,V=function(){P||(P=!0,window.setTimeout(function(){var l=y.getSelectedEditingElement();null!=l&&(l=mxUtils.getCurrentStyle(l),null!=l&&null!=n.toolbar&&(n.toolbar.setFontName(Graph.stripQuotes(l.fontFamily)),n.toolbar.setFontSize(parseInt(l.fontSize))));P=!1},0))};mxEvent.addListener(y.cellEditor.textarea,"input",V);mxEvent.addListener(y.cellEditor.textarea,"touchend",V);mxEvent.addListener(y.cellEditor.textarea,"mouseup",V);mxEvent.addListener(y.cellEditor.textarea,"keyup",V);V()}};var ma=y.cellEditor.stopEditing;