Flaw in Wix website builder risked computer worm

The problem resided with a cross-site scripting (XSS) vulnerability found in websites from Wix

Wix, the provider of a widely used cloud-based web development platform, appears to have had a significant bug on its hands that could have paved the way for a computer worm to do serious damage to websites around world.

The problem was related to an XSS (cross-site scripting) vulnerability that was found in websites built with Wix, according to Matt Austin, a researcher with Contrast Security.

Though Wix says it has fixed the issue, it illustrates how a few lines of bad code can  potentially do widespread damage.

XSS vulnerabilities are common, and result from flaws in websites' coding.  Hackers can take advantage of them to trick users' browsers into running malicious scripts that, for example, could download a computer virus or expose the internet cookies that are on their machines. Austin found the same kind of problem in websites from Wix, which builds websites and has 87 million users in Europe, Latin America, Asia.

A hacker could have hijacked the URL of any site created through Wix and redirected visitors to automatically download malicious files from a separate online source, he said in a Wednesday blog post.

In addition, the vulnerability could have allowed a hacker to take over customers' website accounts across the Wix platform as part of a self-propagating exploit. 

"That's what's interesting about this vulnerability," he said. "It's potentially wormable and could have spread fast."

wix webbui Wix

Templates for Wix's website builder.

This is possible because the bug he found also affected Wix's webpage editor domain -- where customers log in to modify the websites they have built.

To gain access, Austin said that hackers could have created a malicious website that targets customers with Wix accounts. In this case, the attack would be specifically designed to hijack the session IDs from browsers still logged in to the Wix platform, he said.

Unsuspecting users visiting the malicious site would trigger an action to secretly log back into Wix and add a new administrative user -- the hacker. In his own testing, Austin found that he was able to take over a Wix account using this very method.

However, the danger wouldn't just stop there, he said. Imagine a website that not only preys on Wix customers but modifies every Wix account it takes over to also host the same XSS attack.

"It can spread exponentially," he said. "It can automatically modify a Wix site to spread itself even further."

That same vulnerability could have also allowed hackers to modify Wix websites for other nefarious purposes, like hosting malware or engaging in other online scams. 

Although the potential for this misuse was only theoretical, Austin said he began alerting Wix repeatedly about the vulnerability on Oct. 10, but heard nothing back. Previously he found bugs in Facebook, Yahoo and Spotify.

On Thursday, Wix responded and said the problem had been fixed. 

"We take the security of our customers very seriously. After thorough examination we can state that the issue has been addressed," the company said in an email. "We do operate a formal bug bounty program and are taking steps to widen the community."

Austin said the vulnerability should have been easy to patch with the deletion of a few lines of code. 

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Michael Kan

IDG News Service
Show Comments

Most Popular Reviews

Latest News Articles


PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?