How does Chrome filter reflected XSS?

Source: Internet
Author: User

The first thing to note is that it is a webkit module, rather than chrome. Therefore, browsers such as Safari and the 360 secure browser speed mode all have the XSS filter function.
Filtering Method:
Use Fuzzy match to input parameters (GET query | POST form data | Location fragment) and the dom tree. If the matching data contains cross-site scripts, It is not output to the context DOM tree. in addition, matching rules have nothing to do with CSPs. Most of them are for reference. The update speed of CSP-Like sort-related things is too slow to keep up with the pace of real-world problems.
Close mode:
Because it may affect the business, the browser provides an HTTP response header to disable it.

X-XSS-Protection: 0

Bypass Method:
I have some knowledge about the bypass because of this reason. Currently, a bypass 0day that I have published can be used continuously.

<Svg> <script xlink: href = data:, alert (1)> </script> </svg>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.