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