By default, browsers don\'t allow cross-site AJAX requests.
I understand that a badly envisioned cross-domain request can be a security risk. If I take the
The risk isn't to the site making the request.
For example:
In a nutshell — it prevents attackers from reading private data from any site that Alice has credentials for (and ones that are behind a firewall, e.g. Alice's corporate Intranet).
Note that this won't prevent attacks which don't depend on being able to read data form the site (CSRF), but without the Same Origin Policy the standard defence against CSRF would be easily defeatable.