https://textslashplain.com/2018/01/08/content-types-matter-more-than-you-think/
http://www.thinkfu.com/g00/blog/gifjavascript-polyglots?i10c.encReferrer=&i10c.ua=1&i10c.dv=14
https://github.com/golang/go/issues/24513#issuecomment-387779762
There are plenty of articles on this.
One possible mitigation would be to set the `X-Content-Type-Options: nosniff` HTTP header for all requests to avoid a user uploading an image and tricking the browser into interpreting it as a script or any of the other tricks.
http://www.thinkfu.com/g00/blog/gifjavascript-polyglots?i10c.encReferrer=&i10c.ua=1&i10c.dv=14
https://github.com/golang/go/issues/24513#issuecomment-387779762
There are plenty of articles on this.
One possible mitigation would be to set the `X-Content-Type-Options: nosniff` HTTP header for all requests to avoid a user uploading an image and tricking the browser into interpreting it as a script or any of the other tricks.







