Reflected XSS in chat.
The chat's file-upload error message echoed the uploaded file's name back into the page, so a crafted file name containing HTML would be rendered as markup and could run script in the chat page.
- Triaged in 3 days
- Fixed in 22 days
- Paid in 22 days
- Disclosed after 22 days
Summary by the researcher
XSS in chat http://livechat.shopify.com/ with file not allowed to upload
The report
hello login in the chat and upload file with Payload name (code injection) like the code html will execute
<span>You are not allowed to upload '' files, allowed types: jpg, jpeg, gif, png</span>
Hadji Samir
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 file name was inserted into the error message HTML without encoding, so markup in the name was rendered rather than displayed as text.
What the attacker needed
A chat account; attacker can set a file name; victim views the error message
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.
When you upload a file, the chat shows an error message that repeats the file's name. If that name contains special characters that a browser treats as code, the browser runs them instead of showing them as text. This lets an attacker make the page do things the victim did not intend.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.