Stored XSS in Satisfaction Surveys via "Ask Reason for Dissatisfaction" option
A stored cross-site scripting flaw existed in the satisfaction survey's 'reason for dissatisfaction' field, which is shown after a poor rating on a help desk chat. An attacker could inject malicious JavaScript that would run in the context of users who viewed the survey response.
Originally disclosed on HackerOne
- Triaged in 11 days
- Fixed in 18 days
- Paid in 12 days
- Disclosed after 7 months
Summary by the program
A stored XSS (cross site scripting) vulnerability was found within the Lark satisfaction survey which an attacker could have potentially used to inject malicious javascript within the "reason for dissatification" section when selecting a poor rating after a help desk chat is completed. We thank @imran_nisar for reporting this to our team and confirming the resolution.
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 survey's dissatisfaction reason field stored user input without proper sanitisation or output encoding.
Impact
An attacker could potentially run malicious JavaScript in the browser of anyone who viewed the stored survey response, though the text gives no further detail on what that script could achieve.
What the attacker needed
Ability to submit a survey response; victim views the stored response
The fix
The report says the issue was resolved, but does not describe the fix.
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 lets someone put their own code into a page others see. Here, a survey's dissatisfaction reason field could hold malicious JavaScript, which might run in a viewer's browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.