<?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: HTML5 new XSS vectors</title>
	<atom:link href="http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/</link>
	<description>Javascript blog with messed up syntax inside</description>
	<lastBuildDate>Thu, 26 Jan 2012 01:38:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Gareth Heyes</title>
		<link>http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/#comment-1755</link>
		<dc:creator>Gareth Heyes</dc:creator>
		<pubDate>Fri, 14 May 2010 08:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=573#comment-1755</guid>
		<description>@Patrick

Well that&#039;s how XSS works, devs forget to filter the quote or others and you can inject your own scripts. BTW spaces aren&#039;t required either for example:-
&lt;input value=&quot;&quot;onfocus=&quot;alert(1)&quot;autofocus/&quot;&gt;</description>
		<content:encoded><![CDATA[<p>@Patrick</p>
<p>Well that&#8217;s how XSS works, devs forget to filter the quote or others and you can inject your own scripts. BTW spaces aren&#8217;t required either for example:-<br />
&lt;input value=&#8221;"onfocus=&#8221;alert(1)&#8221;autofocus/&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick H. Lauke</title>
		<link>http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/#comment-1754</link>
		<dc:creator>Patrick H. Lauke</dc:creator>
		<pubDate>Fri, 14 May 2010 08:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=573#comment-1754</guid>
		<description>I admit that I don&#039;t quite get what he&#039;s driving at. In most cases, if the user input can contain any characters like spaces, you&#039;d have your server-side script do

&lt;input type=text value=&quot;[USER INPUT]&quot;&gt;

as otherwise only the first word before the first space gets taken as a value? Then you&#039;d strip out any double-quotes as well as part of your sanitisation. So in his examples you&#039;d end up with

&lt;input type=text value=&quot;autofocus onfocus=alert(1)&quot;&gt;

which I don&#039;t think executes?</description>
		<content:encoded><![CDATA[<p>I admit that I don&#8217;t quite get what he&#8217;s driving at. In most cases, if the user input can contain any characters like spaces, you&#8217;d have your server-side script do</p>
<p>&lt;input type=text value=&#8221;[USER INPUT]&#8220;&gt;</p>
<p>as otherwise only the first word before the first space gets taken as a value? Then you&#8217;d strip out any double-quotes as well as part of your sanitisation. So in his examples you&#8217;d end up with</p>
<p>&lt;input type=text value=&#8221;autofocus onfocus=alert(1)&#8221;&gt;</p>
<p>which I don&#8217;t think executes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dalrong</title>
		<link>http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/#comment-1753</link>
		<dc:creator>dalrong</dc:creator>
		<pubDate>Fri, 14 May 2010 06:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=573#comment-1753</guid>
		<description>thank you~</description>
		<content:encoded><![CDATA[<p>thank you~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HtD</title>
		<link>http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/#comment-1669</link>
		<dc:creator>HtD</dc:creator>
		<pubDate>Sat, 19 Dec 2009 17:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=573#comment-1669</guid>
		<description>Great Work !

Its Featured,
http://hackerthedude.blogspot.com/2009/12/new-html-5-xss-vectors-by-gareth-heyes.html

Regards,</description>
		<content:encoded><![CDATA[<p>Great Work !</p>
<p>Its Featured,<br />
<a href="http://hackerthedude.blogspot.com/2009/12/new-html-5-xss-vectors-by-gareth-heyes.html" rel="nofollow">http://hackerthedude.blogspot.com/2009/12/new-html-5-xss-vectors-by-gareth-heyes.html</a></p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radoslav Stankov</title>
		<link>http://www.thespanner.co.uk/2009/12/06/html5-new-xss-vectors/#comment-1659</link>
		<dc:creator>Radoslav Stankov</dc:creator>
		<pubDate>Thu, 10 Dec 2009 21:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thespanner.co.uk/?p=573#comment-1659</guid>
		<description>Really interesting and scary ... :)</description>
		<content:encoded><![CDATA[<p>Really interesting and scary &#8230; <img src='http://www.thespanner.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

