XSS & HTML injection
A message field used while reviewing and approving a phrase accepted an XSS payload, allowing script execution. An attacker could inject script into that message context.
Originally disclosed on HackerOne
- Triaged in 6 hours
- Fixed in 6 hours
- Disclosed after 7 hours
Link: http://www.localize.io/review/3C/languages/3
while approving and reviewing a phrase, you are able to send/set a message. You can XSS that by entering an XSS string
String used: <object data=data:text/html;base64,PHN2Zy9vbmxvYWQ9YWxlcnQoNCk+></object>?
Screenshot: http://prntscr.com/3awo2p
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 message input was rendered without proper output encoding or sanitisation.
What the attacker needed
Access to the review and approve feature
How it was found
- Open the review page for a language.
- While approving and reviewing a phrase, use the message feature.
- Enter an XSS string as the 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.
XSS is when a site shows user input without making it safe, so the browser runs it as code. Here a message box accepted code that the browser executed.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.