Language: JavaScript
Label: safe
CWE: CWE-829 \u2014 Inclusion of Functionality from Untrusted Control Sphere
The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

Code:
        reader.onload = function (e) {
            $(that).css("color", "green");
            $(that).closest(".imageContainer").find('.image_preview').css("display", "block");
            $(that).closest(".imageContainer").find('.previewing').attr('src', e.target.result);
            //$(that).closest(".imageContainer").find('.previewing').attr('width', 'auto');
            //$(that).closest(".imageContainer").find('.previewing').attr('height', '100%');
        };