“…In order to prove this thesis, we compare and tweak for the XSS detection problem two different code representation techniques, based on natural language processing (Allamanis et al, 2016) (NLP) and programming language processing (Allamanis et al, 2018;Alon et al, 2019) (PLP), respectively, and use deep learning 6 for the detection of XSS vulnerabilities in code written in two mainstream web serverside languages: PHP 7 and Node.js 8 . Machine learning techniques have been previously applied to the detection of security vulnerabilities (e.g., (Li et al, 2018;Staicu et al, 2018;Calzavara et al, 2019;She et al, 2020)). .…”