Re: CSP: set of report URIs

On Tue, Mar 19, 2013 at 12:01 PM, Ian Melven <imelven@mozilla.com> wrote:
> CORS is an interesting idea, but I think one of the cases that people are concerned
> about is an attacker being able to use an injected CSP (particularly if <meta> CSP
> ends up widely implemented) to send violation data to their own server, which will obviously
> grant permission via CORS (same concern addressed via not allowing redirects on report POSTs
> IMO)

<meta> CSP sounds like a bad idea...

In any event, you could set Origin to null so that event a same-origin
request would be cross-origin. Note also that CORS with preflight does
not follow redirects either.


-- 
http://annevankesteren.nl/

Received on Wednesday, 20 March 2013 21:20:39 UTC