'Where to find a dataset for Cross-Site Scripting (XSS)? [closed]

I'm working on a project related to XSS and currently I need a dataset that I can run through WEKA for example, to test some classification algorithms. I've been searching for it on Google but no luck.

Please help me if you can, I would be very grateful.

Thank you



Solution 1:[1]

I am guessing you want to do something along the lines of running web traffic through a binary classifier for identifying XSS attacks? This paper titled "Multiclass Classification of XSS Web Page Attack using Machine Learning Techniques" by Krishnaveni & Sathiyakumari mentions the XSSed dataset that contains URLs with XSS vulnerabilities. You would also need a dataset of URLs that doesn't have XSS attacks (could be clean, have other types of attacks, etc.)

Solution 2:[2]

You can have a look at this: XSS Cheat Sheet

Solution 3:[3]

here you go , Cross-site-scripting attacks: A Comprehensive dataset for AI techniques usage https://github.com/fawaz2015/XSS-dataset

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hamman Samuel
Solution 2 Chiragh Dewan
Solution 3 user426267