An Empirical Study of the Framework Impact on the Security of JavaScript Web Applications

Ksenia Peguero, N. Zhang, Xiuzhen Cheng
{"title":"An Empirical Study of the Framework Impact on the Security of JavaScript Web Applications","authors":"Ksenia Peguero, N. Zhang, Xiuzhen Cheng","doi":"10.1145/3184558.3188736","DOIUrl":null,"url":null,"abstract":"\\textitBackground: JavaScript frameworks are widely used to create client-side and server-side parts of contemporary web applications. Vulnerabilities like cross-site scripting introduce significant risks in web applications.\\\\ \\textitAim: The goal of our study is to understand how the security features of a framework impact the security of the applications written using that framework.\\\\ \\textitMethod: In this paper, we present four locations in an application, relative to the framework being used, where a mitigation can be applied. We perform an empirical study of JavaScript applications that use the three most common template engines: Jade/Pug, EJS, and Angular. Using automated and manual analysis of each group of applications, we identify the number of projects vulnerable to cross-site scripting, and the number of vulnerabilities in each project, based on the framework used.\\\\ \\textitResults: We analyze the results to compare the number of vulnerable projects to the mitigation locations used in each framework and perform statistical analysis of confounding variables.\\\\ \\textitConclusions: The location of the mitigation impacts the application's security posture, with mitigations placed within the framework resulting in more secure applications.","PeriodicalId":235572,"journal":{"name":"Companion Proceedings of the The Web Conference 2018","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-04-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Companion Proceedings of the The Web Conference 2018","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3184558.3188736","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

\textitBackground: JavaScript frameworks are widely used to create client-side and server-side parts of contemporary web applications. Vulnerabilities like cross-site scripting introduce significant risks in web applications.\\ \textitAim: The goal of our study is to understand how the security features of a framework impact the security of the applications written using that framework.\\ \textitMethod: In this paper, we present four locations in an application, relative to the framework being used, where a mitigation can be applied. We perform an empirical study of JavaScript applications that use the three most common template engines: Jade/Pug, EJS, and Angular. Using automated and manual analysis of each group of applications, we identify the number of projects vulnerable to cross-site scripting, and the number of vulnerabilities in each project, based on the framework used.\\ \textitResults: We analyze the results to compare the number of vulnerable projects to the mitigation locations used in each framework and perform statistical analysis of confounding variables.\\ \textitConclusions: The location of the mitigation impacts the application's security posture, with mitigations placed within the framework resulting in more secure applications.
框架对JavaScript Web应用安全性影响的实证研究
\ textbackground: JavaScript框架被广泛用于创建当代web应用程序的客户端和服务器端部分。像跨站点脚本这样的漏洞会给web应用程序带来重大风险。我们研究的目的是了解框架的安全特性如何影响使用该框架编写的应用程序的安全性。\\ \textitMethod:在本文中,我们介绍了应用程序中相对于正在使用的框架可以应用缓解的四个位置。我们对使用三种最常见模板引擎的JavaScript应用程序进行了实证研究:Jade/Pug、EJS和Angular。使用对每组应用程序的自动和手动分析,我们根据所使用的框架确定易受跨站点脚本攻击的项目数量,以及每个项目中的漏洞数量。结果:我们对结果进行分析,将脆弱项目的数量与每个框架中使用的缓解位置进行比较,并对混杂变量进行统计分析。结论:缓解措施的位置会影响应用程序的安全状态,将缓解措施置于框架内会产生更安全的应用程序。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信