Re: Risks from CSS injection

On Dec 9, 2009, at 8:46 AM, gaz Heyes wrote:

> 2009/12/9 Aryeh Gregor <Simetrical+w3c@gmail.com>
> In particular, I would suggest that nothing ever be added to CSS that
> triggers access to remote resources but doesn't use url(), and is
> allowed in inline styles or doesn't have to be at the top of the
> stylesheet.  As far as I know, there are currently no such constructs
> that exist or are planned, so blacklisting the (a)-(c) that I gave
> should be safe.  Is this correct?  If so, does it sound like it's
> feasible to keep it safe?
>
> Namespaces allow remote resources without url()
> <http://www.w3.org/TR/css3-namespace/>

I don't see how? The use of URLs there is solely for purposes of  
defining XML namespaces, the URLs are never deferenced.

Regards,
Maciej

Received on Wednesday, 9 December 2009 17:33:55 UTC