Securing Web Applications Against SQL Injection and XSS Attacks
Chandrashekhar Moharir,
Shiva Kiran Lingishetty and
Arvind Kamboj
Additional contact information
Chandrashekhar Moharir: Deputy General Manager HCL America Dallas, Texas, United States
Shiva Kiran Lingishetty: Senior Solutions Architect Amdocs Alpharetta, Georgia, United States
Arvind Kamboj: Department of Computer Science & Engineering, Shivalik College of Engineering, Dehradun
International Journal of Latest Technology in Engineering, Management & Applied Science, 2025, vol. 14, issue 5, 203-208
Abstract:
This paper presents a comprehensive approach to enhancing web application security by mitigating two of the most prevalent and dangerous threats: SQL Injection (SQLi) and Cross-Site Scripting (XSS) attacks. Traditional defense mechanisms such as Web Application Firewalls (WAFs) and rule-based filtering often fall short due to their static nature and limited adaptability to novel or obfuscated attack vectors. To address these shortcomings, the proposed methodology integrates machine learning-based models trained on diverse datasets to accurately detect and classify malicious inputs. Extensive experiments were conducted in both controlled and real-time environments, evaluating the system’s performance using key metrics including accuracy, precision, recall, and F1 score. The results demonstrate that the machine learning model significantly outperforms traditional methods, achieving a detection accuracy of 96.4%, with high precision and recall values, thus offering both effectiveness and efficiency. The system also exhibits scalability and adaptability, making it suitable for deployment in live web applications. This research highlights the critical role of intelligent, data-driven systems in modern cybersecurity frameworks and establishes a strong foundation for future work focused on developing proactive and resilient web application defenses.
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.ijltemas.in/DigitalLibrary/Vol.14Issue5/203-208.pdf (application/pdf)
https://www.ijltemas.in/papers/volume-14-issue-5/203-208.html (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:bjb:journl:v:14:y:2025:i:5:p:203-208
Access Statistics for this article
International Journal of Latest Technology in Engineering, Management & Applied Science is currently edited by Dr. Pawan Verma
More articles in International Journal of Latest Technology in Engineering, Management & Applied Science from International Journal of Latest Technology in Engineering, Management & Applied Science (IJLTEMAS)
Bibliographic data for series maintained by Dr. Pawan Verma ().