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:
R));this.graph.isRelativeUrl(Q)&&(Q=null!=U?U+Q:window.location.protocol+"//"+window.location.hostname+("/"==Q.charAt(0)?"":m)+Q);B.push('url("'+Q+'"'+K[W].substring(R))}else B.push(K[W])}else B=[m]}return null!=B?B.join(""):null};Editor.prototype.mapFontUrl=function(m,B,K){/^https?:\/\//.test(B)&&!this.isCorsEnabledForUrl(B)&&(B=PROXY_URL+"?url="+encodeURIComponent(B));K(m,B)};Editor.prototype.embedCssFonts=function(m,B){var K=m.split("url("),R=0;null==this.cachedFonts&&(this.cachedFonts={});var U=