Update XSS.md
This commit is contained in:
parent
3675947a74
commit
193b28a467
16
XSS.md
16
XSS.md
@ -2,14 +2,14 @@
|
|||||||
**Web Content-Types to XSS**
|
**Web Content-Types to XSS**
|
||||||
|
|
||||||
The following content types can execute XSS in all browsers:
|
The following content types can execute XSS in all browsers:
|
||||||
* text/html
|
* `text/html`
|
||||||
* application/xhtml+xml
|
* `application/xhtml+xml`
|
||||||
* application/xml
|
* `application/xml`
|
||||||
* text/xml
|
* `text/xml`
|
||||||
* image/svg+xml
|
* `image/svg+xml`
|
||||||
* text/plain (?? not in the list but I think I saw this in a CTF)
|
* `text/plain` (?? not in the list but I think I saw this in a CTF)
|
||||||
* application/rss+xml (off)
|
* `application/rss+xml` (off)
|
||||||
* application/atom+xml (off)
|
* `application/atom+xml` (off)
|
||||||
|
|
||||||
In other browsers other Content-Types can be used to execute arbitrary JS, check:
|
In other browsers other Content-Types can be used to execute arbitrary JS, check:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user