3 ms·
JSONP only allows CSP bypass if you return anything other than JSON objects from an API. As long as you don't do that, CSP is fine.
by cyphar 11y ago
JSONP only allows CSP bypass if you return anything other than JSON objects from an API. As long as you don't do that, CSP is fine.
- tshadwell 11y agoSince JSONP allows you to have a callback, you can load this in script tags on the same domain and make calls to that / those functions.