Cross-site Scripting (XSS) - Stored in livehelperchat/livehelperchat
Reported on
Jun 21st 2021
โ๏ธ Description
The questionary section
of livehelperchat
can be modified listing new question . However, the template is used incorrectly resulting in a CSTI injection which leads to stored XSS
.
๐ต๏ธโโ๏ธ Proof of Concept
Install the livechat
Go on https://lhchost.com/index.php/site_admin/questionary/edit/2 (or any question exists)
The attacker changes the question
input with this payload: {{$on.constructor('alert(document.domain)')()}}
When someone else visits the page aforementioned, a XSS is popped!
๐ฅ Impact
This vulnerability is capable of injecting JS code permanently showed to every user
Occurrences
Thank you both! @Remigijus, may I kindly ask whether there is a reason that you wished not to claim the fix bounty? Your feedback would be much appreciated, thanks ๐
@zidingz Just I'm a maintainer of the project. So I feel responsible to have all issues fixed free of charge :)