Please use this identifier to cite or link to this item:
http://dx.doi.org/10.25673/123684| Title: | Feature Fusion of Pattern, Statistical, and Contextual Representations using Deep and Machine Learning for XSS Detection |
| Author(s): | Yousif, Ali Nafea Al-Ta'i, Ziyad Tariq Ismail, Widad Ibrahim, Hassan Muayad |
| Granting Institution: | Hochschule Anhalt |
| Issue Date: | 2026-03 |
| Extent: | 1 Online-Ressource (14 Seiten) |
| Language: | English |
| Abstract: | Cross-Site Scripting (XSS) is still a crucial threat to web applications, enabling attackers to inject malicious scripts and compromise user security. Conventional detection methods encounter scalability and adaptability issues, while recent machine and deep learning approaches often rely on isolated features or single classifiers. This study proposes two approaches to developing XSS detection models. The first model applies an early fusion approach; it combines features derived from handcrafted patterns, statistical representations built using term frequency–inverse document frequency (TF-IDF), and sequential embeddings produced through long- short-term memory (LSTM) and gated recurrent unit (GRU) networks. The second model, based on a late feature fusion approach, extracts multiple feature types, including statistical representations from TF-IDF, handcrafted pattern-based indicators, and sequential embeddings obtained from LSTM and GRU networks, in the next stage, the concatenated feature vectors are then used to train seven well-known machine learning classifiers, including Random Forest, Support Vector Machine, AdaBoost, Decision Tree, Logistic Regression, Gaussian Naïve Bayes, and Multi-Layer Perceptron. A nearly balanced dataset of 13,686 payloads was used. The results show that early fusion achieved the best performance (LSTM+TFIDF: 99.90% accuracy, F1-score 99.91%), while late fusion (GRU+TFIDF+MLP) achieved 99.85% accuracy and an F1- score of 99.86%. These results demonstrate that early fusion improves detection sensitivity, while late fusion enables interpretability and synthesis, providing practical insights for designing robust XSS detection systems. |
| URI: | https://opendata.uni-halle.de//handle/1981185920/125618 http://dx.doi.org/10.25673/123684 |
| Open Access: | Open access publication |
| License: | (CC BY-SA 4.0) Creative Commons Attribution ShareAlike 4.0 |
| Appears in Collections: | International Conference on Applied Innovations in IT (ICAIIT) |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| 5-5-ICAIIT_2026_14(1).pdf | 1.81 MB | Adobe PDF | ![]() View/Open |
Open access publication
