Burp Suite User Forum

Create new post

Website copy function broken

Chloe | Last updated: Jul 07, 2021 02:20PM UTC

https://portswigger.net/web-security/cross-site-scripting/cheat-sheet Copy tag function on the web page doesn't work - When inspecting the event I noticed that on line 6 there is a spelling mistake lement should be element. 1 function() { 2 var tags = new Set(), 3 i, j; 4 for (i in data) { 5 let element = document.getElementById(i); 6 if (element && lement.classList.contains("hidden")) { 7 continue;

Ben, PortSwigger Agent | Last updated: Jul 08, 2021 10:52AM UTC

Hi Chloe, Thank you for this. Looks like a slight error from our side - we will look to implement a fix in due course. Thanks again for spotting this and letting us know.

Ben, PortSwigger Agent | Last updated: Jul 08, 2021 01:27PM UTC

Hi Chloe, I just wanted to confirm that the XSS cheat sheet has now been updated and should now work as expected. Thanks again for letting us know about this.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.