Indonesian Journal of Cybersecurity and Emerging Risks
Vol. 1 No. 1 (2026): 2026: IJCYBER Volume 1 Issue 1 Year 2026

Machine Learning-Based Detection of Cross-Site Scripting (XSS) Attacks Using Classification Algorithms

Anupama Mishra (Unknown)
Pramod Kumar (School of Science & Technology, Swami Rama Himalayan University)



Article Info

Publish Date
31 Jan 2026

Abstract

Cross-Site Scripting (XSS) attack is the most dominant attack in web applications. Its empowering attackers to inject malicious scripts into trusted web environments. The research paper proposed a machine learning-based framework for the detection and classification of XSS attacks. We use the dataset from Kaggle that contains textual web request patterns labeled as normal and malicious instances. Experimental analysis was performed to evaluate the effectiveness of multiple supervised learning algorithms including Logistic Regression, Random Forest, and Support Vector Machine. The methodology involved preprocessing, feature extraction, model training, testing, and performance evaluation parameters for binary classification.

Copyrights © 2026






Journal Info

Abbrev

ijcyber

Publisher

Subject

Description

ndonesian Journal of Cybersecurity and Emerging Risks (IJCYBER, Indones. J. Cybersecur. Emerg. Risks, e-ISSN 3164-7782) is a peer-reviewed international journal dedicated to advancing research on theoretical developments and practical implementations in the dynamic fields of cybersecurity, digital ...