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:
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"))};