https://github.com/grevory/bootstrap-file-input/blob/master/bootstrap.file-input.js#L112: ``` $(this).parent().after('<span class="file-input-name">'+fileName+'</span>'); ``` This opens up users of this library to XSS attacks [1]. `fileName` should be escaped before it is used inside raw HTML. [1] https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
https://github.com/grevory/bootstrap-file-input/blob/master/bootstrap.file-input.js#L112:
This opens up users of this library to XSS attacks [1].
fileNameshould be escaped before it is used inside raw HTML.[1] https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)