Large-Scale Annotated Dataset for Cross-Site Scripting (XSS) Attack Detection
收藏IEEE2026-04-17 收录
下载链接:
https://ieee-dataport.org/documents/large-scale-annotated-dataset-cross-site-scripting-xss-attack-detection
下载链接
链接失效反馈官方服务:
资源简介:
This dataset contains 1,831,254 records specifically curated to support research on detecting Cross-Site Scripting (XSS) attacks using machine learning techniques. Each record consists of two fields:Query: A text input representing potential web payloads, user inputs, or script content extracted from diverse sources of benign and malicious web traffic.Label: A binary classification label indicating whether the entry is malicious (1) or benign (0).The dataset is heavily diversified and deduplicated to ensure minimal bias and high generalization capacity for model training. It features a malicious-to-benign ratio of approximately 60:40, making it particularly suitable for evaluating both detection and false positive rates of machine learning and deep learning models.This dataset underpins the research paper \u201cBi-LSTM Approach for Cross-Site Scripting (XSS) Attack Detection\u201d submitted to the International Conference on Computer and Information Technology (ICCIT), Cox\u2019s Bazar. The data can be used to benchmark traditional models (logistic regression, random forest, naive Bayes, decision tree, XGBoost) alongside advanced sequence models such as Bi-LSTM to exploit contextual dependencies in payload patterns.Key Features:Size: 1,831,254 records.Structure: Two columns \u2013 \u201cQuery\u201d (textual payload) and \u201cLabel\u201d (binary indicator: 1 = malicious, 0 = benign).Diversity: Collected from a broad range of benign and malicious payload sources to ensure high variability.Preprocessing: Cleaned, normalized, and deduplicated to eliminate redundant patterns.Intended Use: Training and evaluation of machine learning models for XSS detection, adversarial pattern recognition, and other web security research tasks.This dataset is valuable for cybersecurity practitioners, researchers, and academic institutions focusing on web application security, adversarial input detection, and real-time intrusion prevention systems.
提供机构:
Md Mehedi Hassan; Rubaeat Ahammed; Mahadi Hasan Shaisob



