PoC Demonstrating XSS Via AJAX + JSON Data
Too many people have argued that when XSS is found in JSON data that it would not be rendered in the browser.
They either think it's due to it being JSON/XML etc. or because it contains an error code (400/500 etc.)
This prooves that not to be the case: