arrow
Return

MFXSS: An effective XSS vulnerability detection method in JavaScript based on multi-feature model

delete2023-01-01
delete7
PRE
AI
Z
Zhonglin Liu
方
方勇 (Yong Fang)
C
Cheng Huang *
Y
Yijia Xu
DOI:10.1016/j.cose.2022.103015delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The widespread use of web applications has also made them more vulnerable to hackers, resulting in the leakage of large amounts of application and personal privacy data. Cross-site scripting (XSS) attacks are one of the most significant threats to web applications. Attackers can inject scripts to control the victim's browser to send data or execute commands, leading to the theft of privacy or the hijacking of login to-kens. Therefore, we proposed a multi-feature fusion-based neural network vulnerability detection model for detecting XSS vulnerabilities in the JavaScript source code of websites (We termed our implementa-tion of this approach MFXSS). We combine abstract syntax tree (AST) and code control flow graph (CFG) to convert the generalized sample data into graph structure and code string structure. Then, through the graph convolutional neural network, weighted aggregation, and the bidirectional recurrent neural net-work, the logical call features and the context execution relationship features of the source code are extracted and fused respectively. Finally, the fused feature vectors are used to detect and predict XSS vulnerabilities in JavaScript. In the experiment, we designed multiple control experiments to verify that the model construction is optimal, and the accuracy rates in the standard and variant datasets are 0.997 and 0.986. Moreover, in comparing similar detection schemes, MFXSS also performs better. Applying the model to an actual web environment, we successfully detected the presence of XSS vulnerabilities in websites.(c) 2022 Elsevier Ltd. All rights reserved.
Keywords:
Cross -site scripting
Multi -feature fusion
Graph convolutional network
Weighted aggregation
Vulnerability detection

Journal

C
Computers and Security
IF:
5.4
Papers:
4.6K
Citations:
1.4W

Organization

S
sichuan university
Scholars:
12.1W
Papers: 7.8W
Citations: 100
Cited Papers

Cited Papers

Pediatric Auditory Brainstem Implant Users Compared With Cochlear Implant Users With Additional Disabilities
err2019-08-01
err0
PREAI
errTirza F. K. van der Straaten; Anouk P. Netten; Peter Paul B. M. Boermans; Jeroen J. Briaire; Esther Scholing; Radboud W. Koot; Martijn J. A. Malessy; Andel G. L. van der Mey; Berit M. Verbist; Johan H. M. Frijns
errShare
errSave
Re-Cloning the N27 Dopamine Cell Line to Improve a Cell Culture Model of Parkinson's Disease
err2016-08-11
err0
errOAAI
errLu Gao; Wenbo Zhou; Breanna Symmes; Curt R. Freed
errShare
errSave
Modes of induced cardiac arrest: hyperkalemia and hypocalcemia - literature review
err2014-01-01
err0
errOAAI
errMarcos Aurélio Barboza de Oliveira; Antonio Carlos Brandi; Carlos Alberto dos Santos; Paulo Henrique Husseini Botelho; José Luis Lasso Cortez; Domingo Marcolino Braile
errShare
errSave
Late Bronze Age climate change and the destruction of the Mycenaean Palace of Nestor at Pylos
err2017-12-27
err0
errOAAI
errMartin Finné; Karin Holmgren; Chuan-Chou Shen; Hsun-Ming Hu; Meighan Boyd; Sharon Stocker
errShare
errSave
GraphXSS: An efficient XSS payload detection approach based on graph convolutional network
err2022-03-01
err28
PREAI
errLiu, Zhonglin; Fang, Yong; Huang, Cheng; Han, Jiaxuan
errShare
errSave
errShare
errSave
JStrong: Malicious JavaScript detection based on code semantic representation and graph neural network
err2022-07-01
err12
PREAI
errFang, Yong; Huang, Chaoyi; Zeng, Minchuan; Zhao, Zhiying; Huang, Cheng
errShare
errSave
researcher View more