XSSer: hybrid deep learning for enhanced cross-site scripting detection
Ammar Odeh, Anas Abu Taleb
Abstract
The importance of an effective cross-site scripting (XSS) detection system cannot be overstated in web security. XSS attacks continue to be a prevalent and severe threat to web applications, making the need for robust detection systems more crucial than ever. This paper introduced a hybrid model that leverages deep learning algorithms, combining recurrent neural network (RNN) and convolutional neural network (CNN) architectures. Our hybrid RNN-CNN model emerged as the top performer in our evaluation, demonstrating outstanding performance across key metrics. It achieved an impressive accuracy of 96.74%, excelling inaccurate predictions. Notably, the precision score reached an impressive 97.78%, highlighting its precision in identifying positive instances while minimizing false positives. Furthermore, the model's recall score of 95.65% showcased its ability to capture a substantial portion of true positive instances. This resulted in an exceptional F1-Score of 96.70, underlining the model's remarkable balance between precision and recall. Compared to other models in the evaluation, our proposed model unequivocally demonstrated its leadership, emphasizing its excellence in detecting potential XSS vulnerabilities within web content.
Keywords
Content security policies; Cross-site scripting; Cyberattack; Deep learning; Intrusion detection system
DOI:
https://doi.org/10.11591/eei.v13i5.7905
Refbacks
There are currently no refbacks.
This work is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License .
<div class="statcounter"><a title="hit counter" href="http://statcounter.com/free-hit-counter/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/10241695/0/5a758c6a/0/" alt="hit counter"></a></div>
Bulletin of EEI Stats
Bulletin of Electrical Engineering and Informatics (BEEI) ISSN: 2089-3191, e-ISSN: 2302-9285 This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU) .