People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
Content-Type response header is used to tell the browser how to render a file. This page is a list of Content-Type header with the format they render that can be used for XSS. It even has a list of browsers that this works on.text/html as an HTML format. There are even weirder ones referenced too, like text/xsl being rendered as HTML., and ; can all used as Mime Type separators. For instance, text/plain; x=x, text/html is a valid HTML format when rendered by the browser.( and 0x9 are able to be used as separators. For instance, text/html(xxx is a valid content type that will be render as HTML.