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:
(I?null!=K.resp&&0<K.resp.length&&null!=K.resp[0]?(S=K.resp[0],I=!1,C()):n():null!=K.resp&&0<K.resp.length&&null!=K.resp[0]?D(K.resp[0]):z())}}catch(O){console.log(O)}});window.addEventListener("message",x)}})));c(t);t.onversionchange=function(){t.close()}}catch(x){null!=e?e(x):null!=window.console&&console.warn(x)}});q.onerror=e;q.onblocked=function(){}}catch(p){null!=e?e(p):null!=window.console&&console.error(p)}else null!=e&&e(Error("IndexedDB not supported"))}else c(this.database)};EditorUi.prototype.setDatabaseItem=