Issue metadata
Sign in to add a comment
|
Security: Chrome mime-sniffs HTML when no Content-Type is specified
Reported by
figs...@gmail.com,
May 30 2018
|
||||||||||||||||||||
Issue description
If it is not a common suffix, the xss vulnerability is raised
如果不是常见后缀名,将做内容嗅探,引发XSS漏洞
payload
------------------------------
<html>
<script>
alert('xss-test');
</script>
</html>
------------------------------
see Attachment,Vulnerability certification
看附件,有漏洞证明
,
May 30 2018
see Attachment,no Content-Type you can try
,
May 30 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 30 2018
Yes, it's working as designed that Chrome sniffs HTML in a response served over HTTP lacking a Content-Type. To prevent sniffing, the |X-Content-Type-Options: nosniff| response header may be sent.
,
May 31 2018
SO,you kown. This is a Chrome security issue. I think what you should do,Ensure user safety ^^
,
Sep 5
This bug has been closed for more than 14 weeks. Removing security view restrictions. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by elawrence@chromium.org
, May 30 2018