News for hackers. Stuff that matters.
Re:JavaScript Cryptography Considered Harmful by Already__Taken on Tuesday June 17, 2014 @08:18AM (#7903922)
Long story short, this topic won't end until XSS gets fixed. The people writing HTML don't consider XSS their problem, its been what 20 years?

Nobody even knows what 'fixing' xss would look like.

Re:JavaScript Cryptography Considered Harmful by jonrimmer on Tuesday June 17, 2014 @09:02AM (#7904121)
Um, the "people writing HTML" have done a lot of work to prevent XSS, by introducing Content-Security-Policy and other HTTP headers: http://ibuildings.nl/blog/2013/03/4-http-security-headers-yo...

The main problem is backwards compatibility, as older browsers don't support them, but the idea that people have their head in the sand re. XSS is complete nonsense.

Re:JavaScript Cryptography Considered Harmful by beagle3 on Tuesday June 17, 2014 @11:36AM (#7904999)
Wrong. Even in an xss-free web, JavaScript based cryptography in the browser is unsafe against an attacker that can MITM - the attacker can just replace the crypto code being used.
Re:JavaScript Cryptography Considered Harmful by pestaa on Tuesday June 17, 2014 @08:30AM (#7903970)
There is no permanent cure for any attack surface in a given technology. Security is an ongoing effort and requires deep understanding of the underlying platform.

If "writing HTML" exposes cross-site scripting vulnerabilities on your site, then maybe "writing HTML" isn't so easy after all.

Re:JavaScript Cryptography Considered Harmful by mdellabitta on Tuesday June 17, 2014 @08:47AM (#7904057)
It's any MITM attack, not just XSS, right?