Hello hunters,
I came across these codes and I think a XSS exploit can be squeeze out of here but I don’t understand what this code does exactly. So I couldn’t write any successful XSS payload.
hash,$targetElement,$accordion,offset,delay,speed;offset=.2,delay=300,speed=0,(hash=window.location.hash)&&($targetElement=$(hash),$targetElement.length&&($accordion=$targetElement.find('[data-vc-accordion][href="'+hash+'"],[data-vc-accordion][data-vc-target="'+hash+'"]'),$accordion.length&&(setTimeout(function(){$("html, body").animate({scrollTop:$targetElement.offset().top-$(window).height()*offset},speed)},delay),$accordion.trigger("click"))))
help !!!