Deprecated test case
Description
CWE: 80 Cross Site Scripting (XSS)
BadSource: fromFile Read data from file (named c:\data.txt)
GoodSource: A hardcoded string
Sinks: Servlet
BadSink : querystring parameter not sanitized
Flow Variant: 53 Data flow: data passed as an argument from one method through two others to a fourth; all four functions are in different classes in the same package
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.