JSONP itself, though yucky, should still be safe from XSS given a /-star-star-/ prefix and a validated callback parameter.
I think that is the "waiting to happen" part of my initial comment.
JSONP itself, though yucky, should still be safe from XSS given a /-star-star-/ prefix and a validated callback parameter.