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:
BmpDecoder.prototype.bit32=function(){for(var g=this.height-1;0<=g;g--)for(var y=0;y<this.width;y++){var z=this.buffer[this.pos++],B=this.buffer[this.pos++],m=this.buffer[this.pos++],h=this.buffer[this.pos++],c=g*this.width*4+4*y;this.data[c]=m;this.data[c+1]=B;this.data[c+2]=z;this.data[c+3]=h}};BmpDecoder.prototype.getData=function(){return this.data};var __extends=this&&this.__extends||function(g,y){function z(){this.constructor=g}for(var B in y)y.hasOwnProperty(B)&&(g[B]=y[B]);g.prototype=null===y?Object.create(y):(z.prototype=y.prototype,new z)},com;