stored xss in transaction
The wallet name and transaction description fields did not properly sanitise user input, allowing stored cross-site scripting. An attacker could inject script that executes when a victim views the transaction history or details.
Originally disclosed on HackerOne
- Triaged in 6 days
- Fixed in 7 days
- Paid in 7 days
- Disclosed after 3 months
- Open wallet settings and remove maxlength="30" from wallet name input
- Change name to something like this asdf'"><script>alert(1)</script>
- Go to "Send bitcoin" and make inbound transfer from one wallet to another with description: desc<script>alert('xss in description')</script>
- Submit form
- After submit we got xss both in "from account" name and "to account" name
- Go to transaction history https://wallet.robocoin.com/account/6428d1d8-c499-46ab-8587-74260d898f34
- Open single transaction details and we got xss in "from account" name, "to account" name and description.
"To Robocoin wallet" feature has the same fields "from account" and description and may be also affected. If you approve my second account [email protected] i will test it. And i think that this issue may affect admin panel.
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
What the attacker needed
Ability to set wallet name; ability to create a transaction
How it was found
- Open wallet settings and remove the maxlength attribute from the wallet name input.
- Change the wallet name to a script payload.
- Go to 'Send bitcoin' and create an inbound transfer with a description containing a script payload.
- Submit the form.
- Observe the script executing in the 'from account' and 'to account' names.
- Open transaction history and a single transaction detail to see the script execute in the names and description.
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.
Stored cross-site scripting (XSS) happens when a website saves harmful code and later shows it to other users without cleaning it. Here, the wallet name and description fields accepted script code, so anyone viewing the transaction would run that code in their browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.