Language: JavaScript
Label: vulnerable
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:
EditorUi.prototype.updateCssForMarker=function(b,e,g,p,y){b.style.display="inline-flex";b.style.alignItems="center";b.style.justifyContent="center";b.innerText="";"flexArrow"==g?b.className=null!=p&&p!=mxConstants.NONE?"geSprite geSprite-"+e+"blocktrans":"geSprite geSprite-noarrow":(g=this.getImageForMarker(p,y),null!=g?(p=document.createElement("img"),p.className="geAdaptiveAsset",p.setAttribute("src",g),b.className="","end"==e&&mxUtils.setPrefixedStyle(p.style,"transform","scaleX(-1)"),b.appendChild(p)):
(b.className="geSprite geSprite-noarrow",b.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),b.style.backgroundImage="none",b.style.fontSize="11px",b.style.filter="none"))};