HTML5 Security Risks

Aaron Weiss, Tech Journalist / Humorist | 12/14/2012 | 15 comments

Aaron Weiss
Using HTML5 for mobile apps can save costs and provide users with a common experience. But HTML5 comes with its own set of security issues.

Several key facets of the HTML5 platform can increase the surface area for security compromises, which may affect the enterprise through apps developed either in-house or by third parties.

Local storage: Before HTML5, cookies were the only way websites could store local data on the client side. But cookies are limited in multiple ways, whereas HTML5 local storage offers a more robust client-side storage solution, including a relational database with SQL access. With client-side storage, HTML5 apps can be both more sophisticated and faster than their web-based predecessors. Users can access key data offline, and apps can manipulate data without network bottlenecks.

But the data stored on the client side will also be more vulnerable to compromise. Hackers who slip through the “same origin rule” that protects access to local storage could extract sensitive data and leak it to malicious servers. In the mobile realm, physical loss or theft of smartphones and tablets could put sensitive data directly into hackers' hands.

This means that using HTML5 local storage to store sensitive data must go hand in hand with security awareness. This might include siloing the most sensitive data to session-only storage (which is destroyed with app exit), or employing the same robust encryption techniques that would be used to store sensitive data on servers.

Cross-Origin Resource Sharing (CORS): A complex subject whose intricacies threaten to trip up developers, CORS is the rules mechanism that defines which data apps can interact with. Before HTML5, this security policy was known as the Same Origin Policy, and it required that web apps interact with code and content delivered from a common parent server to limit the opportunity for hackers to inject malicious data. CORS expands the limitations of the SOP and provides a more sophisticated syntax by which developers can define which origins are allowed to interact with which app behaviors.

The security risk here is not CORS itself but the opportunity for developers to misuse it, writing rules that are either too broad or too vulnerable to exploitation, giving hackers an in-road to cross-site scripting (XSS) attacks and other forms of data hijacking.

WebSockets: HTML5 WebSockets feature an asynchronous, full-duplex network connection directly between web client and server, enabling “push” communications originating from the server. This technology significantly reduces bandwidth for what would be polling-intensive apps, promising payoff in both reduced data usage and app performance. But WebSockets are, at least currently, opaque to many network security tools, which may rely on packet inspection to qualify traffic. In short, use of WebSockets may dilute the effectiveness of present-day network security defenses like web application firewalls.

HTML5 is not inherently insecure, but enterprises that use it need to look at it like using a Swiss Army Knife -- the new features promise great utility, but also more ways to cut yourself.

View Comments: Newest First | Oldest First | Threaded View
Page 1 / 2   >   >>
Nemos   HTML5 Security Risks   1/31/2013 8:10:44 PM
About HTML5
HTML5 seems to be a large step in making the storage of temporary files much more efficient. Having a larger cache for applications for mobile devices has been a problem ever since they came on the market as upon exit, the data would get lost.

What I, however, do not understand is why a solution to the danger of hacking would be to delete the files upon exit of the application, would this not defy the purpose of the whole thing?
batye   HTML5 Security Risks   1/1/2013 11:02:25 PM
Re: Native Apps
maybe, but we should not count out joomla...
singlemud   HTML5 Security Risks   12/28/2012 7:59:59 PM
Re: Native Apps
Total agree. HTML5 comes a long way, it is the future of web dev.
tinym   HTML5 Security Risks   12/18/2012 4:05:56 PM
Re: Native Apps
Getting over the learning curve will certainly bring lots of innovation just as it did with plain old web development.
eethtworkz   HTML5 Security Risks   12/18/2012 2:40:20 PM
Re: Yep...

That's good to know!

Flash is beyond Sucky today!!!
Damian Romano   HTML5 Security Risks   12/18/2012 2:21:02 PM
Re: Yep...
@eethtworkz - he actually didn't heavily weigh in on Flash, but did discuss the reasons Apple won't utilize it. I don't disagree with you that eventually there will be no choice but to utilize HTML5.
eethtworkz   HTML5 Security Risks   12/18/2012 2:04:58 PM
Re: Yep...

What did your Professor Say about Flash?

Is he happy with their solutions?

What about Native Apps?

As I had said in an earlier post here;We really have no alternative;its Proper Adoption of HTML5 or bust today!!!!



eethtworkz   HTML5 Security Risks   12/18/2012 2:02:16 PM
One needs to look at the Alternatives first.

Great post!

Thanks for enlightening us some very serious Security Issues facing HTML5.

But when one looks at the alternatives[Flash or going Native];they both suck!

So its extremely important that we work harder and harder to strengthen HTML5 today.

And its good to see majority of Developers[Web-based] also feel the same way.

Good report  from Kendo!




Damian Romano   HTML5 Security Risks   12/17/2012 1:16:46 PM
"HTML5 is not inherently insecure, but enterprises that use it need to look at it like using a Swiss Army Knife -- the new features promise great utility, but also more ways to cut yourself."

One of the best analogies I've heard to date regarding HTML5. I took a web developement class last two semesters ago and my professor commented with a similar sentiment on this subject. But like most new code/etc you find many people jumping on board with the features with little regard for security.
Zaius   HTML5 Security Risks   12/16/2012 2:06:01 PM
Re: Native Apps
'Patching loopholes' are not getting the priorities as they should have gotten. These days, we are looking for more 'bells & whistles', and finally we find ourselves in awkward situation when these loopholes show up.
Page 1 / 2   >   >>

The blogs and comments posted on do not reflect the views of TechWeb,, or its sponsors., TechWeb, and its sponsors do not assume responsibility for any comments, claims, or opinions made by authors and bloggers. They are no substitute for your own research and should not be relied upon for trading or any other purpose.

More Blogs from Aaron Weiss
Aaron Weiss   10/22/2013   46 comments
Obligatory old-person declaration: In my day, we were lucky to get a free pencil at school on standardized test day. At lunch, we lined up for bacon and mayonnaise sandwiches. Times were ...
Aaron Weiss   8/22/2013   65 comments
If Facebook were a character in a raunchy fraternity movie, you could picture it standing on the bar goading all the partygoers. A little bit tipsy and overconfident, Facebook shouts at ...
Aaron Weiss   7/18/2013   17 comments
Thanks to the success of the philosophy and deployment of open-source software, developers and businesses continue to create and embrace software with underlying code that is available for ...
Aaron Weiss   7/15/2013   18 comments
Reading official government reports is usually a helpful sleep aid. But last month, an audit performed by the US Department of Commerce on a malware incident response at the Economic ...
Aaron Weiss   7/12/2013   60 comments
You can hardly go a week without reading about huge dollars being thrown at a hot tech firm. To pick just one piece of low-hanging fruit, how about the $60 million recently bequeathed upon ...
Latest Archived Broadcast
We talk with Bernard Golden about accelerating application delivery in the cloud.
On-demand Video with Chat
Register for this video discussion to learn how tablets can provide true business usability and productivity.
E2 IT Migration Zones
IT Migration Zone - UK
Why PowerShell Is Important
Reduce the Windows 8 Footprint for VDI
Rethinking Storage Management
IT Migration Zone - FR
SQL Server : 240 To de mémoire flash pour votre data warehouse
Quand Office vient booster les revenus Cloud et Android de Microsoft
Windows Phone : Nokia veut davantage d'applications (et les utilisateurs aussi)
IT Migration Zone - DE
Cloud Computing: Warum Unternehmen trotz NSA auf die „private“ Wolke setzen sollten
Cloud Computing bleibt Wachstumsmarkt – Windows Azure ist Vorreiter
Like Us on Facebook
Twitter Feed
Enterprise Efficiency Twitter Feed
Site Moderators Wanted
Enterprise Efficiency is looking for engaged readers to moderate the message boards on this site. Engage in high-IQ conversations with IT industry leaders; earn kudos and perks. Interested? E-mail:
[email protected]
Dell's Efficiency Modeling Tool
The major problem facing the CIO is how to measure the effectiveness of the IT department. Learn how Dell’s Efficiency Modeling Tool gives the CIO two clear, powerful numbers: Efficiency Quotient and Impact Quotient. These numbers can be transforma¬tive not only to the department, but to the entire enterprise.

Read the full report
The State of Enterprise Efficiency in the Virtual Era: Virtualization – Smart Approaches to Maximize Gains
Virtualization is a presence in nearly all enterprise data centers. But not all companies are using it to its best effect. Learn the common characteristics of success, what barriers companies face, and how to get the most from your efforts.

Read the full report
Informed CIO: Dollars & Sense: Virtual Desktop Infrastructure
Cut through the VDI hype and get the full picture -- including ROI and the impact on your Data Center -- to make an informed decision about your virtual desktop infrastructure deployments.

Read the full report
A Video Case Study – Translational Genomics Research Institute
e2 Video

On the Case
TGen IT: Where We're Going Next

7|11|12   |   08:12   |   10 comments

Now that TGen has broken new ground in genomic research by using Dell's storage, cloud, and high-performance computing solutions, the company discusses what will come next for it and for personalized medicine.
On the Case
Better Care Through Better Communications

6|6|12   |   02:24   |   11 comments

The achievements of the TGen/Dell project could improve how all people receive healthcare, because they are creating ways to improve end-to-end communication of medical data.
On the Case
TGen IT: Where We Are Now

5|15|12   |   06:58   |   6 comments

TGen is breaking new ground in genomic research by using Dell's storage, cloud, and high-performance computing solutions.
On the Case
TGen IT: Where We Were

4|27|12   |   06:45   |   10 comments

The Translational Genomics Research Institute wanted to save lives, but its efforts were hobbled by immense computing challenges related to collecting, processing, sharing, and storing enormous amounts of data.
On the Case
1,200% Faster

4|18|12   |   02:27   |   12 comments

Through their partnership, Dell and TGen have increased the speed of TGen’s medical research by 1,200 percent.
On the Case
IT May Improve Children's Chances of Survival

4|17|12   |   02:12   |   8 comments

IT is helping medical researchers reach breakthroughs in a way and pace never seen before.
On the Case
Medical Advances in the Cloud

4|10|12   |   1:25   |   5 comments

TGen and Dell are pushing the boundaries of computing, and harnessing the power of the cloud to improve healthcare.
On the Case
TGen: Living the Mission

4|9|12   |   2:25   |   3 comments

TGen's CIO puts the organizational mission at the heart of everything the IT staff does.
On the Case
TGen Speeding Up Biomedical Research to Save More Lives

4|5|12   |   1:59   |   6 comments

The Translational Genomics Research Institute is revamping its computing to improve speed, storage, and collaboration – and, most importantly, to save lives.
On the Case
Computing Power Helping to Save Children's Lives

3|28|12   |   2:13   |   3 comments

The Translational Genomics Institute’s partnership with Dell is enabling them to treat kids with neuroblastoma more quickly and save more lives.
Tom Nolle
The Big Reason to Use Office

3|18|14   |   02:24   |   46 comments

Office and personal productivity tools come in a first-class and coach flavor set, but what makes the difference is primarily little things that most users won't encounter. What's the big issue in using something other than Office, and can you get around it?
E2 Editors
SPONSORED: Mobile Security — A Use Case

3|4|14   |   04:27   |   16 comments

New mobile security solutions can accommodate a wide array of needs, including those of a complex university environment.
Tom Nolle
Killing Net Neutrality Might Save You Money

1|16|14   |   2:13   |   16 comments

The DC Court of Appeals voided most of the Neutrality Order, and whatever it might mean for the Internet overall, it might mean better and cheaper Internet VPNs for businesses.
Tom Nolle
The Internet of Everythinguseful

1|10|14   |   2:18   |   19 comments

We really don't want an "Internet of Everything" but even building an Internet of Everythinguseful means setting some ground rules to insure there's value in the process and that costs and risks are minimized.
Tom Nolle
Maturing Google Chrome

12|30|13   |   2.18   |   25 comments

Google's Chrome OS has a lot of potential value and a lot of recent press, but it still needs something to make it more than a thin client. It needs cloud integration, it needs extended APIs via web services, and it needs to suck it up and support a hard drive.
Sara Peters
No More Cookie-Cutter IT

12|23|13   |   03.58   |   21 comments

Creating the right combination of technology, people, and processes for your IT organization is a lot like baking Christmas cookies.
Sara Peters
Smart Wigs Not a Smart Idea

12|5|13   |   3:01   |   46 comments

Sony is seeking a patent for wigs that contain computing devices.
Tom Nolle
Cloud in the Wild

12|4|13   |   02:23   |   15 comments

On a recent African trip I saw examples of the value of the cloud in developing nations, for educational and community development programs. We could build on this, but not only in developing economies, because these same programs are often under-supported even in first-world countries.
E2 Editors
SPONSORED: Is Malware Evading Your IPS?

11|18|13   |   03:16   |   4 comments

Intrusion prevention software is supposed to detect and block malware intrusions, but clever malware authors can evade your IPS in these five main ways.
Sara Peters
Where Have All the Mentors Gone?

9|27|13   |   3:15   |   38 comments

A good professional mentor can change your life for the better... but where do you find one?
Tom Nolle
SDN Wars & You Could Win

9|17|13   |   2:10   |   5 comments

VMware's debate with Cisco on SDN might finally create a fusion between an SDN view that's all about software and another that's all about network equipment. That would be good for every enterprise considering the cloud and SDN.
Ivan Schneider
The Future of the Smart Watch

9|12|13   |   3:19   |   39 comments

Wearing a bulky, oversized watch is good training for the next phase in wristwatches: the Internet-enabled, connected watch. Why the smartphone-tethered connected watch makes sense, plus Ivan demos an entirely new concept for the "smart watch."
Tom Nolle
Cutting Your Cloud Storage Costs

9|4|13   |   2:06   |   3 comments

Cloud storage costs are determined primarily by the rate at which files are changed and the possibility of concurrent access/update. If you can structure your storage use to optimize these factors you can cut costs, perhaps to zero.
Sara Peters
Do CIOs Need an IT Background?

8|29|13   |   2:11   |   23 comments

Most of the CIOs interviewed in the How to Become a CIO series did not start their careers as IT professionals. So is an IT background essential?
Ivan Schneider
The Internet Loves Birthdays

8|27|13   |   3:25   |   69 comments

The Internet has evolved into a machine for drumming up a chorus of "Happy Birthday" messages, from family, friends, friends of friends who you added on Facebook, random people that you circled on G+, and increasingly, automated bots. Enough already.