Blind-XSS Escalated from HTMLi
A feedback form accepted HTML injection, and the submitted content was later viewed by support staff on a server tied to the apex domain. By submitting a script payload, the author received callbacks to their own server, turning the HTML injection into stored blind cross-site scripting.
medium.com
Published on medium.com
In this writeup i’m sharing how i esclated HTMLi to Blind-XSS (Stored) in a Private Bug Bounty Program on BugCrowdSo le’ts Dive into it:
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the feedback form stored user-supplied HTML without sanitising it, and the stored content was rendered in a staff-facing tool on a different server.
Impact
An attacker could run script in the browser of whoever viewed the feedback, potentially collecting session data and page contents from that server.
What the attacker needed
Ability to submit feedback; staff view the stored feedback
How it was found
- Test the site's normal functions to understand the flow.
- Submit HTML injection in the feedback form and confirm it renders.
- Review the HTTP history and notice the feedback is passed to a server or support employee on the apex domain.
- Resubmit the feedback with a script payload that sends data to an external server.
- Observe callbacks arriving at the collaborator server.
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 write-up has not been written yet. The Original tab links to the source.
A feedback form let the author type HTML, which is the code that builds web pages. Because staff later opened that feedback on another system, the author could include a small script that ran in the staff member's browser and sent data back to a server the author controlled. That is called blind cross-site scripting because the attacker never sees the page directly, only the callbacks.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.