RE: lcamtuf on the subtle/deadly problem with CSP

> Possibly, but what effect would it realistically have at this point?
> 
> /mz

1) JSONP is a very common pattern
2) Popular JSONP feeds are likely to also have lots of other JS at their origin (e.g. google)
3) Therefore, allowing webapps to safely consume JSONP without also accepting all other script content from the origin is important exactly to the extent that origin-granularity attack surface is a genuine problem with CSP (and it seems it is)

Received on Thursday, 1 September 2011 18:24:45 UTC