English

Semantics and Security Issues in JavaScript

Programming Languages 2012-12-12 v1

Abstract

There is a plethora of research articles describing the deep semantics of JavaScript. Nevertheless, such articles are often difficult to grasp for readers not familiar with formal semantics. In this report, we propose a digest of the semantics of JavaScript centered around security concerns. This document proposes an overview of the JavaScript language and the misleading semantic points in its design. The first part of the document describes the main characteristics of the language itself. The second part presents how those characteristics can lead to problems. It finishes by showing some coding patterns to avoid certain traps and presents some ECMAScript 5 new features.

Cite

@article{arxiv.1212.2341,
  title  = {Semantics and Security Issues in JavaScript},
  author = {Stéphane Ducasse and Nicolas Petton and Guillermo Polito and Damien Cassou},
  journal= {arXiv preprint arXiv:1212.2341},
  year   = {2012}
}

Comments

Deliverable Resilience FUI 12: 7.3.2.1 Failles de s\'ecurit\'e en JavaScript / JavaScript security issues

R2 v1 2026-06-21T22:52:09.686Z