How sensitive data can be stolen from clipboard ?

Clipboard is one of the features in windows which can store information when you do a ctrl + C. Have you though somebody easily can steal it ? Yes, It’s possible if any site is containing a particular script which allows it to find whats on your clipboard and store it on their side. If you are in habit of doing copy paste things like Credit card number, passwords and others , its not safe.

Text from Clipboard explains how it does. This is the script which can be placed in any web page and when you visit the site, using IE Browser, it can easily retrieve what was in your copy paste/ Clipboard

The Clipboard hack is done by the following Source Code:

This vulnerability is found in Only IE . Firefox is safe !!! It Rocks

<Script Language="JavaScript">
var content = clipboardData.getData("Text");

This is the output of the script in the image, I copied some text and It showed up.

How to avoid data getting stolen from clipboard ?

To avoid clipboard hack, do the following:

  1. Go to Internet options->security
  2. Press custom level
  3. In the security settings, select disable under Allow paste operations via script.

Now your clipboard is safe. This settings are for IE. I was not able to find similar settings for FireFox.


Please enter your comment!
Please enter your name here