arXiv:2610.10844cs.CROct 2026

Manuscript Offprint

arXiv:2610.10844

When Flaws Cascade: Understanding Vulnerabilities and Exploitation Chains in JavaScript Engines

Yuhan Ma, Jiongchi Yu, Xiaofei Xie, Qiang Hu, Zhiyi Zhang, Junjie Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yuhan Ma

Tianjin University

Tianjin, China

mayuhan@tju.edu.cn

Qiang Hu

Tianjin University

Tianjin, China

qianghu@tju.edu.cn

Jiongchi Yu

Nanyang Technological University

Singapore, Singapore

jiongchiyu@acm.org

Zhiyi Zhang

Qi An Xin Group Corp

Beijing, China

hi.zhiyi@qq.com

Xiaofei Xie

Singapore Management University

Singapore, Singapore

xfxie@smu.edu.sg

Junjie Wang

Tianjin University

Tianjin, China

junjie.wang@tju.edu.cn

Abstract

JavaScript engines are pivotal to modern web browsers, enabling the execution of dynamic and interactive web applications. However, their complexity and widespread adoption make them prime targets for attackers exploiting vulnerabilities. While existing research has focused on detecting vulnerabilities of JavaScript engines, a significant gap remains in systematically understanding the characteristics of these vulnerabilities, including their symptoms, root causes, and exploitability. This paper bridges this gap by presenting the first comprehensive empirical study on vulnerabilities in JavaScript engines, investigating their characteristics and potential exploitation strategies.

We construct a dataset comprising 241 vulnerabilities across four mainstream JavaScript engines from 2017 to 2024. Through in-depth analysis, we first develop taxonomies for symptoms and root causes. Building on this understanding, we investigate the exploitability of these vulnerabilities, identifying key prerequisites and extracting vulnerability trigger chains that demonstrate how logical errors propagate into memory safety violations. Additionally, we analyze the mitigation strategies to counter these exploitations. Finally, we summarize key implications for various stakeholders, including developers and researchers, offering actionable insights to improve the security and resilience of JavaScript engines.

CCS Concepts

• Software and its engineering → Software defect analysis.