Self XSS in attachments name
A user could inject an XSS payload into the name of a file uploaded to a support request, and the payload would execute when the attachment name was rendered. The report does not show execution in another user's session, so it is described as self-XSS.
- Triaged in 3 days
- Fixed in 46 days
- Disclosed after 50 days
Hello Gents,
- While testing
account.acronis.comI found that I could inject XSS payload in attachments name at "Support requests" .
Steps to Reproduce:
- Please Login at
account.acronis.com. - From support request, support a new case.
- Expand Case ID, Leave a comment for support professional, upload a file:
">{{media:0}}.png.
Proof of Concept:
Impact
XSS
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 attachment file name was inserted into the support request page without being encoded or sanitised.
What the attacker needed
A user account on the portal; ability to create a support case and upload a file
How it was found
- Log in to the account portal.
- Open a support request and start a new case.
- Expand the case, add a comment and upload a file whose name contains an HTML image tag with an error handler.
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.
Cross-site scripting (XSS) is when a website displays user input without making it safe, so the browser runs it as code. Here, a file name containing HTML was shown back in the support request page. The report calls it self-XSS because the author only showed it running for the person who uploaded the file, not for a support agent.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.