Skip to main content

The context you need, when you need it

When news breaks, you need to understand what actually matters — and what to do about it. At Vox, our mission to help you make sense of the world has never been more vital. But we can’t do it on our own.

We rely on readers like you to fund our journalism. Will you support our work and become a Vox Member today?

Join now

Here’s how that major Tweetdeck vulnerability works

The popular Twitter app Tweetdeck is shutting down after the discovery of a serious security vulnerability in the software:

Tweetdeck is vulnerable to what is known as a cross-site scripting attack that allows hackers to execute code on the victim’s computer. The attack makes use of the JavaScript programming language, which powers most of the web’s interactive content. If someone puts JavaScript code into a tweet, your Twitter client is supposed to convert that into harmless plain text. But the Tweetdeck forgot to do that, causing the user’s computer to execute it instead.

The result: if you were running Tweetdeck, anyone in your Twitter timeline could force your computer to execute JavaScript code. For example, it could cause annoying popup messages to display on a user’s screen. Or create viral tweets that spread by causing users to automatically retweet them.

Fortunately, JavaScript programs are executed within a “sandbox” that sharply limits what they can do. In this case, malicious code can only do things that the Twitter app itself is allowed to do, like tweet, follower users, or retweet others’ messages. But it likely can’t access private files on a user’s hard drive, read a user’s email, or install long-lived spyware on the computer.

This is an important virtue of the web compared with conventional desktop software. If a bug is discovered in a traditional Mac or Windows application, the attacker will often gain total control over a user’s computer. In contrast, web browsers (and apps like Tweetdeck built on web-based technologies) are carefully designed to limit the damage that malicious JavaScript can do.

A security problem in Twitter, Facebook, or Gmail can still cause a lot of headaches for users. It could allow hackers to access private emails or spam victims’ friends. But in most cases, it won’t give the attacker total control over your computer or even other websites.

See More:

More in archives

archives
Ethics and Guidelines at Vox.comEthics and Guidelines at Vox.com
archives
By Vox Staff
Supreme Court
The Supreme Court will decide if the government can ban transgender health careThe Supreme Court will decide if the government can ban transgender health care
Supreme Court

Given the Court’s Republican supermajority, this case is unlikely to end well for trans people.

By Ian Millhiser
archives
On the MoneyOn the Money
archives

Learn about saving, spending, investing, and more in a monthly personal finance advice column written by Nicole Dieker.

By Vox Staff
archives
Total solar eclipse passes over USTotal solar eclipse passes over US
archives
By Vox Staff
archives
The 2024 Iowa caucusesThe 2024 Iowa caucuses
archives

The latest news, analysis, and explainers coming out of the GOP Iowa caucuses.

By Vox Staff
archives
The Big SqueezeThe Big Squeeze
archives

The economy’s stacked against us.

By Vox Staff