Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
A Reflected XSS vulnerability in webhook.php #50
The vulnerability exists due to insufficient filtration of user-supplied data in "challenge" HTTP parameter that will be passed to "tdm-master/webhook.php". The infected source code is line 5, there is no protection on $_GET['challenge'], if it contains evil js code, line 72 will trigger untrusted code to be executed on the browser side.
So if a attacker construct a special url as follow and send it to a victim, when the victim click the url, the code which is contained in the url will be executed on the victim's browser side to do some evil.
Discoverer: ADLab of Venustech