Skip to content
XSS Write-up Beginner

Google VRP XSS

A job board allowed HTML snippets in job descriptions and stored company and department names inside a script tag without escaping. An attacker could inject script that ran in the browser of anyone viewing the public job page.

Rojan Rijal Follow

Published on sites.google.com

Besides the blind XSS that I found against a Googler, I also found multiple stored XSS that executed on hire.withgoogle.com. Following are the vulnerabilities that I found:

Rojan Rijal (@uraniumhacker), on sites.google.com

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

Script ran in the context of hire.withgoogle.com for anyone viewing the affected job or company page, which could let an attacker act as the site towards visitors.

What the attacker needed

An account able to create jobs; victim views the public job page

How it was found

  1. Create a job and add a description containing a hyperlink.
  2. Intercept the request and add an HTML script snippet to the description.
  3. Publish the job and open it, which runs the script.
  4. Change the company name to a snippet that closes the existing script tag and opens a new one.
  5. View the public job page, which runs the injected script.

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.

A website sometimes takes text you type and puts it straight into the page's code. If that text can include code, the browser runs it as if the site itself wrote it. Here the job description and company name fields let the author slip in script, so it ran for visitors.

What is XSS?

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

More by Rojan Rijal

View all

20 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

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.