Skip to content
XSS Disclosed report Beginner

profile cover can also load external URL's

The profile cover background colour field accepted a CSS value that included an external URL, causing the browser to load that URL when the field was previewed. The reporter could not save the value, so the issue only affected their own session and did not impact other users.

Olivier Beg Follow

Originally disclosed on HackerOne

  • Triaged in 48 hours
  • Fixed in 13 days
  • Disclosed after 18 days

Hi,

I have to option to change my cover background (https://hackerone.com/{program_name}/edit). When I insert #360e0e url('http://www.google.com') as background "color" it will make a connection to http://www.google.com (If IE is used).

I can't save it so it won't affect any other people but it doesn't look "by design".

Kind regards,

Olivier

Attachments

Screen_Shot_2015-11-14_at_18.40.08.png
Screen_Shot_2015-11-14_at_18.40.08.png From the original on HackerOne

The original report as published on HackerOne, by smiegles. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the application did not properly validate or sanitise the CSS value entered for the background colour, allowing a URL to be included and loaded by the browser.

Impact

The reporter's browser loaded an external resource, but the value could not be saved, so the impact was limited to the reporter's own session and did not affect other users.

What the attacker needed

Access to the profile cover edit page; use of Internet Explorer

How it was found

  1. Go to the profile cover edit page.
  2. Enter a CSS value containing an external URL as the background colour.
  3. Observe that the browser makes a request to that external URL (in Internet Explorer).

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 report has not been written yet. The Original tab links to the source.

A profile cover background colour field let someone type a value that included a web address. The browser then tried to load that address. However, the value could not be saved, so only the person entering it saw the effect.

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 Olivier Beg

View all

18 more disclosed reports, best first.

More from HackerOne

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.