Skip to content
XSS Write-up Beginner

How a tweet about a XSS bug within Google+ leads to XSS within InformationWeek

A persistent cross-site scripting (XSS) vulnerability existed in Google+ where a user's profile name was not escaped on the profile page if the user had more than six public photo albums. An attacker could set their name to a malicious script, which would execute when other users viewed the profile.

nilsjuenemann.de

Published on nilsjuenemann.de

I contribute to the Google Vulnerability Reward Program since November 2010 now and I found a lot of security bugs in nearly all major Google applications.

The author, on nilsjuenemann.de

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary JavaScript in the context of a victim's Google+ session, potentially leading to account compromise or data theft.

What the attacker needed

A Google+ account; more than 6 public photo albums; victim views the profile

The fix

The issue was fixed by Google after being reported.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is a flaw where a website shows user-supplied text without cleaning it, so a malicious user can insert code that runs in other visitors' browsers. Here, a Google+ profile name was displayed without proper escaping, so a name containing a script would run when someone viewed the profile. This could let an attacker run code in victims' browsers.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.