Google closes Gmail cross-site scripting vulnerability

Hole would let sites collect e-mail addresses from Gmail users' contact lists

Current Job Listings

Google Inc. has fixed a flaw that would have allowed Web sites to harvest information from Gmail contact lists, a problem that could have let spammers collect reams of new e-mail addresses.

For an attack to work, a user would have to log into a Gmail account and then visit a Web site that incorporates JavaScript code designed to take contact information from Gmail.

Proof-of-concept code was publicly posted . The JavaScript code used a capability that Google used to integrate addressing with other services including its video download site and online office productivity suite.

Google appears to have fixed the problem within 30 hours of being notified, wrote Haochi Chen, a blogger who tracks the company on his blog . A Google spokeswoman in London confirmed on Tuesday morning the problem was fixed.