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.
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

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
- Go to the profile cover edit page.
- Enter a CSS value containing an external URL as the background colour.
- 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.