HTML/XSS rendered in Android App of Crashlytics through fabric.io
An app name containing HTML markup was rendered without escaping in the Crashlytics Android app, so a crafted app name could inject an image element. An attacker could send invitations to users, who would then see the injected content when viewing the app in the Crashlytics app.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 48 days
- Paid in 15 days
- Disclosed after 55 days
Hey hi,
While in fabric , the app name is rendered as HTML/XSS in android app of Crashlytics like shown in the screenshot.
Steps to reproduce: Create an app with the name of payload in my case i have used, "><img src=x> under the following URL https://www.fabric.io/img-srcx-onerrorprompt03/android/apps/imgsrcxonerrorprompt0.myapplication/beta/releases/latest (replace the app names wherever needed) Send invitation to users to test the APP users will get the invitation and will be forced to download the Crashlytics app, once downloaded they will see the app name like in the screenshot.
Regards, Karthik Wesecureapp
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 create an app with a crafted name; victim accepts an invitation and uses the app
How it was found
- Create an app whose name contains HTML markup.
- Send invitations to users to test the app.
- Users download the Crashlytics app from the invitation.
- Users see the app name rendered as HTML in the Crashlytics app.
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 a website or app shows text that comes from users, it must treat that text as plain text, not as code. Here, an app name was treated as HTML, so a name containing an image tag was displayed as an actual image. This lets someone put content into the app that the developers 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.