Detection of cross-site scripting (XSS) attacks: Analysis, detection approaches, and mitigation strategies
Engineering Today · 2026 · (00) · 39-39
DOI: 10.5937/engtoday2600016r ↗Kurz gefasst
Fachartikel in der Zeitschrift Engineering Today, 2026. Verfasst von Vesna Ružičić. Die Arbeit nennt 20 Literaturangaben. Gefördert von: Ministry of Education, Science and Technological Development of the Republic of Serbia.
Abstract (Originalsprache)
Cross-Site Scripting (XSS) remains one of the most persistent security vulnerabilities affecting modern Web applications. The increasing complexity of Web technologies, extensive use of client-side scripting, and processing of user-generated content provide opportunities for attackers to inject malicious scripts into trusted Web environments. Successful XSS attacks can lead to session hijacking, credential theft, unauthorized access, and disclosure of sensitive information. This paper analyzes XSS vulnerabilities with a focus on attack characteristics, detection approaches, and mitigation strategies. The research includes a statistical analysis of Common Weakness Enumeration (CWE) vulnerability data collected between 2014 and 2022. The dataset was processed using Python in a Jupyter Notebook to examine the frequency, distribution, and long-term trends of XSS vulnerabilities in comparison with other major software weaknesses. The results indicate that XSS remains among the most frequently reported software weaknesses despite advances in secure development practices and Web security mechanisms. The study also examines static, dynamic, hybrid, and machine learning-based detection approaches through an experimental evaluation of selected XSS detection tools. The findings demonstrate that no single technique provides complete protection against all XSS variants, while combined approaches offer more effective vulnerability detection and mitigation. The study emphasizes the importance of secure coding, input validation, output encoding, Content Security Policy (CSP), and automated security testing throughout the software development lifecycle.
Förderung
- Ministry of Education, Science and Technological Development of the Republic of Serbia
Zitieren
APA
Ružičić, V. (2026). Detection of cross-site scripting (XSS) attacks: Analysis, detection approaches, and mitigation strategies. Engineering Today, 39-39. https://doi.org/10.5937/engtoday2600016r
Vancouver
Ružičić V. Detection of cross-site scripting (XSS) attacks: Analysis, detection approaches, and mitigation strategies. Engineering Today. 2026:39-39. doi:10.5937/engtoday2600016r
BibTeX
@article{Ruii2026,
author = {Ružičić, Vesna},
title = {Detection of cross-site scripting (XSS) attacks: Analysis, detection approaches, and mitigation strategies},
journal = {Engineering Today},
year = {2026},
number = {00},
pages = {39--39},
doi = {10.5937/engtoday2600016r}
}
EUVIMED