• Home
  • Search
  • Comparative Analysis of Machine Learning Algorithms for Cross-Site Scripting (XSS) Attack Detection
  • Cite Icon6
  • https://doi.org/10.62527/joiv.8.3-2.3451Copy DOI Icon

Comparative Analysis of Machine Learning Algorithms for Cross-Site Scripting (XSS) Attack Detection

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

Cross-Site Scripting (XSS) attacks pose a significant cybersecurity threat by exploiting vulnerabilities in web applications to inject malicious scripts, enabling unauthorized access and execution of malicious code. Traditional XSS detection systems often struggle to identify increasingly complex XSS payloads. To address this issue, this research evaluated the efficacy of Machine Learning algorithms in detecting XSS threats within online web applications. The study conducts a comprehensive comparative analysis of XSS attack detection using four prominent Machine Learning algorithms, which consist of Extreme Gradient Boosting (XGBoost), Random Forest (RF), K-Nearest Neighbors (KNN), and Support Vector Machine (SVM). This research utilizes a comparative methodology to assess the selected Machine Learning algorithms by analyzing their performance metrics, including confusion matrix, 10-fold cross-validation, and assessment of training time to thoroughly evaluate the models. By exploring dataset characteristics and evaluating the performance metrics of each selected algorithm, the study determined the most robust Machine Learning solution for XSS detection. Results indicate that Random Forest is the top performer, achieving 99.93% accuracy and balanced metrics across all criteria evaluated. These findings will significantly enhance web application security by providing reliable defenses against evolving XSS threats.

Similar Papers
  • Research Article
  • Citations3

Comparative Analysis of Machine Learning Algorithms in Enhancing Healthcare Outcomes

  • Jul 30, 2024
  • European Modern Studies Journal
  • Loubna Ali +2
  • Conference Article
  • Citations29

Detection of XSS in web applications using Machine Learning Classifiers

  • Oct 02, 2020
  • Raima Banerjee +3
  • Research Article
  • Citations1

Comparative Analysis of Machine Learning Algorithms for Predicting Under-Five Mortality: Evidence from Tanzania Demographic and Health Survey

  • Aug 20, 2025
  • Machine Learning Research
  • Salyungu Mabula +2
  • Research Article
  • Citations26

An Insight into the Prediction of Scale Precipitation in Harsh Conditions Using Different Machine Learning Algorithms

  • Nov 17, 2022
  • SPE Production & Operations
  • Reza Yousefzadeh +3
  • Book Chapter

Detection of Cross-Site Scripting and Phishing Website Vulnerabilities Using Machine Learning

  • Nov 01, 2021
  • J Charu +2
  • Research Article
  • Citations18

Predicting Breast Cancer: A Comparative Analysis of Machine Learning Algorithms

  • Apr 30, 2020
  • Proceeding International Conference on Science and Engineering
  • Pulung Hendro Prastyo +3
  • Book Chapter
  • Citations4

Comparative Analysis of Machine Learning Algorithms for Histopathological Images of Oral Cancer

  • Jan 01, 2022
  • Santisudha Panigrahi +2
  • Preprint Article

A Comparative Analysis of Machine Learning Algorithms for Tree Species Recognition Using An Image-Based Approach with Implementation Potential for Close-range Technologies

  • May 15, 2023
  • Martin Mokros +1
  • PDF
  • Research Article
  • Citations7

Comparison and Evaluation of Machine Learning-Based Classification of Hand Gestures Captured by Inertial Sensors

  • Sep 14, 2022
  • Computation
  • Ivo Stančić +4
  • PDF
  • Research Article
  • Citations21

Predicting and identifying factors associated with undernutrition among children under five years in Ghana using machine learning algorithms.

  • Feb 13, 2024
  • PLOS ONE
  • Eric Komla Anku +1
  • Supplementary Content
  • Citations231

Review of Machine Learning Algorithms for Diagnosing Mental Illness

  • Apr 01, 2019
  • Psychiatry Investigation
  • Gyeongcheol Cho +4
  • PDF
  • Research Article
  • Citations22

Development of a Machine Learning Based Web Application for Early Diagnosis of COVID-19 Based on Symptoms.

  • Mar 27, 2022
  • Diagnostics
  • Charlyn Nayve Villavicencio +4
  • Research Article
  • Citations1

Perbandingan Support Vector Machine, Random Forest Classifier, dan K-Nearest Neighbour dalam Pendeteksian Anomali pada Jaringan DDos

  • Jan 02, 2025
  • JTIM : Jurnal Teknologi Informasi dan Multimedia
  • Haeruddin Haeruddin +2
  • Research Article

Sex prediction using machine learning algorithms with parameters obtained from CT images of the Canaliculi pterygoidei

  • Apr 24, 2026
  • Australian Journal of Forensic Sciences
  • Yusuf Secgin +5
  • Research Article
  • Citations6

Hand Movement-Based Diabetes Detection Using Machine Learning Techniques

  • Jul 31, 2021
  • International Journal on Engineering Applications (IREA)
  • Mutaz Al-Tarawneh +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.