TY - CHAP U1 - Konferenzveröffentlichung A1 - Schuckert, Felix A1 - Hildner, Max A1 - Katt, Basel A1 - Langweg, Hanno T1 - Source Code Patterns of Cross Site Scripting in PHP Open Source Projects T2 - Proceedings of the 11th Norwegian Information Security Conference (NISK 2018), Sep. 19-20, 2018, Longyearbyen, Svalbard, Norway (NISK Journal ; Vol. 11) N2 - To get a better understanding of Cross Site Scripting vulnerabilities, we investigated 50 randomly selected CVE reports which are related to open source projects. The vulnerable and patched source code was manually reviewed to find out what kind of source code patterns were used. Source code pattern categories were found for sources, concatenations, sinks, html context and fixes. Our resulting categories are compared to categories from CWE. A source code sample which might have led developers to believe that the data was already sanitized is described in detail. For the different html context categories, the necessary Cross Site Scripting prevention mechanisms are described. Y1 - 2018 UR - http://ojs.bibsys.no/index.php/NISK/article/view/576/492 SN - 1893-6563 SS - 1893-6563 SN - 1894-7735 SS - 1894-7735 SP - 13 S1 - 13 ER -