REINFORCING WEB APPLICATION SECURITY: INNOVATIVE TECHNIQUES TO PREVENT XSS ATTACKS - Innovation in Engineering and Technology Journal
Research Article

REINFORCING WEB APPLICATION SECURITY: INNOVATIVE TECHNIQUES TO PREVENT XSS ATTACKS

Published in Innovation in Engineering and Technology Journal

May 29, 2025
1 Author(s)
ISSN: 3069-1427
DOI: DOI: https://doi.org/10.5281/zenodo.17140883

Authors

Aisha Naomi Clarke

Abstract

<p>With the increasing reliance on web applications, the frequency and sophistication of cyber threats have grown significantly. Among these, Cross-Site Scripting (XSS) attacks remain one of the most prevalent and damaging forms of web-based vulnerabilities. XSS attacks occur when malicious actors exploit weaknesses in a website or web application by injecting unauthorized scripts, which are then executed in the browsers of unsuspecting users. These scripts can be used to steal sensitive data, hijack sessions, or plant harmful cookies, thereby compromising both the application and its users.<br>This study explores the mechanics and implications of XSS attacks and proposes advanced cybersecurity approaches for their detection and prevention. Specifically, it evaluates the effectiveness of the Deep Forest (DF) machine learning model alongside other artificial intelligence techniques in mitigating XSS vulnerabilities. The analysis highlights the importance of addressing class imbalance īŋŊ a commonly overlooked issue in prior XSS research īŋŊ which can significantly affect the accuracy and reliability of detection models.<br>Results demonstrate that the DF model is particularly effective in improving detection rates in imbalanced datasets, offering a more robust solution to the XSS problem. The study concludes by emphasizing the need for continued research on AI-driven cybersecurity models, especially those that address class imbalance, to enhance global preparedness against emerging web-based threats</p>

Explore More Research

Discover additional publications and cutting-edge research from Innovation in Engineering and Technology Journal.