<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: foreignObject: Hey, you&#8217;ve got HTML in my SVG!</title>
	<atom:link href="http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: gavindoughtie</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267099</link>
		<dc:creator>gavindoughtie</dc:creator>
		<pubDate>Tue, 02 Sep 2008 16:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267099</guid>
		<description>And, one of the examples from my OSCON talk:

http://xdraw.org/CSS_slides/examples/foreignobject.svg</description>
		<content:encoded><![CDATA[<p>And, one of the examples from my OSCON talk:</p>
<p><a href="http://xdraw.org/CSS_slides/examples/foreignobject.svg" rel="nofollow">http://xdraw.org/CSS_slides/examples/foreignobject.svg</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: x00mario</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267082</link>
		<dc:creator>x00mario</dc:creator>
		<pubDate>Tue, 02 Sep 2008 07:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267082</guid>
		<description>rethinker: I think &lt;em&gt;you&lt;/em&gt; don&#039;t know what I was talking about. I am pretty aware of the multiple ways to execute JS from within a SVG file. I was just ranting about the addition of another and IMHO useless way in major browser which makes filtering and parsing way harder for security affine developers.

Why is it that you have access to the DOM of the embedding page when you execute the JS in the SVG? Why can&#039;t there be a default sandbox model that is capable of making it more secure to deal with user uploaded SVG files etc.?</description>
		<content:encoded><![CDATA[<p>rethinker: I think <em>you</em> don&#8217;t know what I was talking about. I am pretty aware of the multiple ways to execute JS from within a SVG file. I was just ranting about the addition of another and IMHO useless way in major browser which makes filtering and parsing way harder for security affine developers.</p>
<p>Why is it that you have access to the DOM of the embedding page when you execute the JS in the SVG? Why can&#8217;t there be a default sandbox model that is capable of making it more secure to deal with user uploaded SVG files etc.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rethinker</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267075</link>
		<dc:creator>rethinker</dc:creator>
		<pubDate>Mon, 01 Sep 2008 16:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267075</guid>
		<description>Oops, pardon me. I misused the code tag, I guess.
http://phpfi.com/349371</description>
		<content:encoded><![CDATA[<p>Oops, pardon me. I misused the code tag, I guess.<br />
<a href="http://phpfi.com/349371" rel="nofollow">http://phpfi.com/349371</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rethinker</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267074</link>
		<dc:creator>rethinker</dc:creator>
		<pubDate>Mon, 01 Sep 2008 16:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267074</guid>
		<description>x00mario: I don&#039;t think you know what you&#039;re talking about. SVG supports the script tag &amp; ECMAScript naitively. (they call it ECMAScript on a technicality, its still JS)

Example:
&lt;code&gt;


alert(document.cookie);

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>x00mario: I don&#8217;t think you know what you&#8217;re talking about. SVG supports the script tag &amp; ECMAScript naitively. (they call it ECMAScript on a technicality, its still JS)</p>
<p>Example:<br />
<code></p>
<p>alert(document.cookie);</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: x00mario</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267072</link>
		<dc:creator>x00mario</dc:creator>
		<pubDate>Mon, 01 Sep 2008 13:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267072</guid>
		<description>Here&#039;s the stripped code: http://phpfi.com/349332</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the stripped code: <a href="http://phpfi.com/349332" rel="nofollow">http://phpfi.com/349332</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: x00mario</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267071</link>
		<dc:creator>x00mario</dc:creator>
		<pubDate>Mon, 01 Sep 2008 13:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267071</guid>
		<description>&lt;code&gt;



    alert(document.cookie)


&lt;/code&gt;

And one more way to embed malicious code inside SVGs... working fine in Opera, FF2 (without really rendering the svg of course), FF3 and Safari.</description>
		<content:encoded><![CDATA[<p><code></p>
<p>    alert(document.cookie)</p>
<p></code></p>
<p>And one more way to embed malicious code inside SVGs&#8230; working fine in Opera, FF2 (without really rendering the svg of course), FF3 and Safari.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://ajaxian.com/archives/foreignobject-hey-youve-got-html-in-my-svg/comment-page-1#comment-267068</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 01 Sep 2008 11:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4272#comment-267068</guid>
		<description>&quot;The first example works fine on both Safari and Firefox 3.&quot; Now that&#039;s an overstatement. Safari has a rather serious display glitch that renders the element pretty unusable. Firefox 3 does it well. Everything works as it should, although it&#039;s slow. But still, faster than the other browsers.

Opera does render it, however, it treats it as an image, so you can&#039;t interact with it (Meaning no links, no scroll, etc).</description>
		<content:encoded><![CDATA[<p>&#8220;The first example works fine on both Safari and Firefox 3.&#8221; Now that&#8217;s an overstatement. Safari has a rather serious display glitch that renders the element pretty unusable. Firefox 3 does it well. Everything works as it should, although it&#8217;s slow. But still, faster than the other browsers.</p>
<p>Opera does render it, however, it treats it as an image, so you can&#8217;t interact with it (Meaning no links, no scroll, etc).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

