Arabian Journal for Science and Engineering · 2024 · 23 citations · 25 references
ComputingComputer ScienceCybersecurityComputer SecurityNatural Language ProcessingWeb SecurityCross-site ScriptingLanguage ModelingText Feature EngineeringThreat DetectionWeb Application SecurityWord EmbeddingsContextual Feature RepresentationFeature Representation LearningUniversal Sentence Representations
Abstract Cross-Site Scripting (XSS) attacks continue to be a significant threat to web application security, necessitating robust detection mechanisms to safeguard user data and ensure system integrity. In this study, we present a novel approach for detecting XSS attacks that harnesses the combined capabilities of the Universal Sentence Encoder (USE) and Word2Vec embeddings as a feature extractor, aiming to enhance the performance of machine learning and deep learning techniques. By leveraging the semantic understanding of sentences offered by USE and the word-level representations from Word2Vec, we obtain a comprehensive feature representation for XSS attack payloads. Our proposed approach aims to capture both fine-grained word meanings and broader sentence contexts, leading to enhanced feature extraction and improved model performance. We conducted extensive experiments utilizing machine learning and deep learning architectures to evaluate the effectiveness of our approach. The obtained results demonstrate that our combined embeddings approach outperforms traditional methods, achieving superior accuracy, precision, recall, ROC, and F1-score in detecting XSS attacks. This study not only advances XSS attack detection but also highlights the potential of state-of-the-art natural language processing techniques in web security applications. Our findings offer valuable insights for the development of more robust and effective security measures against XSS attacks.
25
Universal Sentence Encoder for English
Daniel Cer, Yinfei Yang, Sheng-yi Kong et al. · 2018 · 1.3K citations · Full text
Engin Kirda, Christopher Kruegel, Giovanni Vigna et al. · 2006 · 294 citations
SWAP: Mitigating XSS attacks using a reverse proxy
P. Wurzinger, Christian Platzer, Christian Ludl et al. · 2009 · 119 citations