Continuous Improvement of XSS Detection Models Using Active Learning
Continuous Improvement of XSS Detection Models Using Active Learning
Seyed Hossein Hosseini1
1) Undergraduate Software Engineering Student, National Skill University, Qom Province
IOI Code
:
AAHD-ABHBDF
Publication :
National Conference on Information Technology, Nanotechnology, Artificial Intelligence and Technological Futures Studies(itnaf.ir)
Abstract :
The increasing number of security alerts in development and deployment environments is one of the main challenges for organizations that aim to integrate security continuously and with minimal friction into the DevSecOps pipeline. Among these alerts, XSS-related findings often produce a considerable number of false positives because they strongly depend on execution context, input type, vulnerable sink, and client-side behavior. As a result, security analysts may spend a significant amount of time reviewing low-value alerts instead of focusing on critical issues. This paper proposes a practical framework for the continuous improvement of XSS detection and prioritization models using Active Learning. The main idea is that the system should not send all findings for human review; instead, it should select only the samples with the highest learning value. In the proposed framework, the outputs of SAST, DAST, and code scanning tools are first collected and normalized. Then, a baseline model is trained to detect or prioritize security alerts. After that, uncertainty sampling and diversity sampling are used to select a limited batch of samples for human labeling in each cycle. The expert feedback is returned to the dataset, the model is retrained, and the quality of the system improves over time. The overall result indicates that, with the same number of human resources, organizations can achieve higher accuracy, fewer false positives, and faster decision making for XSS-related alerts.
Keywords : active learning xss detection intelligent continuous security devsecops false positive reduction human in the loop vulnerability detection software security