Posted by David Blanc on Feb 22
Does 'Access-Control-Allow-Origin' header provide any benefits indefending against cross site scripting attacks?
Doesn't 'Access-Control-Allow-Origin' header make any XSS flaw
trivially exploitable? For example, if an attacker finds an XSS flaw
in a web application, he can now inject a JavaScript with
XMLHttpRequest that sends a request to attacker's web server which
serves resources with the HTTP header...