Closed moloch-- closed 9 years ago
The XSS payload content-type is text/html instead of text/javascript:
text/html
text/javascript
HTTP/1.0 200 OK Content-Length: 135570 Content-Type: text/html; charset=utf-8 Date: Tue, 28 Jul 2015 23:39:32 GMT Server: Werkzeug/0.10.4 Python/2.7.6 /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ if(typeof jQuery == 'undefined'){
Thanks @moloch-- I'll take a look at adding the right content type for the JS file.
fixed in dev branch.
The XSS payload content-type is
text/html
instead oftext/javascript
: