I am pulling a jsonp script into one of my webpages from an external site.
What’s the worst that can happen on the server-side and client-side?
My worst so far:
server-side - nothing.
client-side - infinite-loop.
What are possible attacks they could use?
If you don’t trust the url you are querying for jsonp, they can do anything they want on your page. Its a XSS (Cross Site Scripting) worst nightmare. Is that what you’re looking for?