Skip to content

Commit

Permalink
add Content-Type that can be used for XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
xanhacks committed Apr 7, 2024
1 parent a303ec1 commit fafc8c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/docs/http/content-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ toc: true

[Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) is an HTTP header used to indicate the media type (MIME type) of the resource being sent in the response body, such as "text/html" for HTML documents or "application/json" for JSON data.

## Content-Type that can be used for XSS

- [Content-Type that can be used for XSS](https://github.com/BlackFan/content-type-research/blob/master/XSS.md)

## Script loading Content-Type page

What happens if a `script` tag load a javascript file from a page that returns `Content-Type: font/ttf`.
Expand Down

0 comments on commit fafc8c6

Please sign in to comment.